]> git.sur5r.net Git - openldap/log
openldap
22 years agorework connection pool handling (reduce amount of malloc)
Pierangelo Masarati [Fri, 9 Aug 2002 17:15:10 +0000 (17:15 +0000)]
rework connection pool handling (reduce amount of malloc)

22 years agoremove dependency from LDAP_FILT_MAXSIZ (and handle arbitrary size filters)
Pierangelo Masarati [Fri, 9 Aug 2002 13:51:35 +0000 (13:51 +0000)]
remove dependency from LDAP_FILT_MAXSIZ (and handle arbitrary size filters)

22 years agoremove warnings
Pierangelo Masarati [Fri, 9 Aug 2002 13:50:29 +0000 (13:50 +0000)]
remove warnings

22 years agoITS#2015 give correct index key back to presence_candidates
Howard Chu [Thu, 8 Aug 2002 17:27:50 +0000 (17:27 +0000)]
ITS#2015 give correct index key back to presence_candidates

22 years agoRemove reference to getfilter(3)
Kurt Zeilenga [Thu, 8 Aug 2002 03:03:48 +0000 (03:03 +0000)]
Remove reference to getfilter(3)

22 years agoZap LDAPv2-only stuff
Kurt Zeilenga [Thu, 8 Aug 2002 03:01:14 +0000 (03:01 +0000)]
Zap LDAPv2-only stuff

22 years agoFix saslregex init bug
Kurt Zeilenga [Wed, 7 Aug 2002 19:17:22 +0000 (19:17 +0000)]
Fix saslregex init bug

22 years agoAdd simple CN v cn test case for ITS#1997
Kurt Zeilenga [Wed, 7 Aug 2002 19:12:59 +0000 (19:12 +0000)]
Add simple CN v cn test case for ITS#1997

22 years agoPlug config leaks
Howard Chu [Wed, 7 Aug 2002 08:43:52 +0000 (08:43 +0000)]
Plug config leaks

22 years agoFix cargv leak in recursive read_config()
Howard Chu [Wed, 7 Aug 2002 08:22:43 +0000 (08:22 +0000)]
Fix cargv leak in recursive read_config()

22 years agoMove large string comment to just above UTF8StringValidate().
Kurt Zeilenga [Wed, 7 Aug 2002 08:19:11 +0000 (08:19 +0000)]
Move large string comment to just above UTF8StringValidate().

22 years agoRevert previous commit
Howard Chu [Wed, 7 Aug 2002 06:37:11 +0000 (06:37 +0000)]
Revert previous commit

22 years agoIn backend_operational don't add subschemaSubentry unless it was
Howard Chu [Wed, 7 Aug 2002 05:31:03 +0000 (05:31 +0000)]
In backend_operational don't add subschemaSubentry unless it was
requested. In send_search_entry don't malloc vrFilter flags unless
a matchedValue filter was given; malloc 1 contiguous block instead
of multiple sub-arrays.

22 years agoDon't strdup conn->authz into op, just reference directly. (Conn cannot
Howard Chu [Wed, 7 Aug 2002 05:19:55 +0000 (05:19 +0000)]
Don't strdup conn->authz into op, just reference directly. (Conn cannot
be freed until after all associated ops are freed.)

22 years agoFix typo
Howard Chu [Wed, 7 Aug 2002 03:12:47 +0000 (03:12 +0000)]
Fix typo

22 years agoITS#1958 from Andrew Findlay with minor adjustments
Howard Chu [Wed, 7 Aug 2002 03:00:00 +0000 (03:00 +0000)]
ITS#1958 from Andrew Findlay with minor adjustments

22 years agoEliminate an unnecessary malloc/free
Howard Chu [Wed, 7 Aug 2002 00:47:57 +0000 (00:47 +0000)]
Eliminate an unnecessary malloc/free

22 years agoITS#2010: use snprintf instead of strcpy to prevent buffer overflow
Kurt Zeilenga [Tue, 6 Aug 2002 19:31:00 +0000 (19:31 +0000)]
ITS#2010: use snprintf instead of strcpy to prevent buffer overflow

22 years agoother->invalid
Kurt Zeilenga [Tue, 6 Aug 2002 05:38:49 +0000 (05:38 +0000)]
other->invalid

22 years agoFor IA5, printable, telephone:
Kurt Zeilenga [Tue, 6 Aug 2002 05:35:59 +0000 (05:35 +0000)]
For IA5, printable, telephone:
Don't allow empty string values.
Treat string values with only spaces as one space.
DirectoryString needs more work (space handling needs
to be done post normalization).

22 years agoAdd a summary to strings comment
Kurt Zeilenga [Tue, 6 Aug 2002 04:25:54 +0000 (04:25 +0000)]
Add a summary to strings comment

22 years agoUpdate string commment with examples.
Kurt Zeilenga [Tue, 6 Aug 2002 04:03:13 +0000 (04:03 +0000)]
Update string commment with examples.

22 years agoAdd start of discussion of strings in LDAP/X.500 and OpenLDAP.
Kurt Zeilenga [Tue, 6 Aug 2002 03:52:02 +0000 (03:52 +0000)]
Add start of discussion of strings in LDAP/X.500 and OpenLDAP.

22 years agoFix nameAndOptionalUUID normalization,
Kurt Zeilenga [Tue, 6 Aug 2002 03:18:02 +0000 (03:18 +0000)]
Fix nameAndOptionalUUID normalization,
now uses bitStringNormalize().

22 years agoRemove lint
Kurt Zeilenga [Tue, 6 Aug 2002 03:08:12 +0000 (03:08 +0000)]
Remove lint

22 years agoAdd #include "lutil.h" for lutil_str* functions
Howard Chu [Tue, 6 Aug 2002 02:36:34 +0000 (02:36 +0000)]
Add #include "lutil.h" for lutil_str* functions

22 years agoITS#1998 ber_mem2bv should accept 0-length calls, just like ber_strdup.
Howard Chu [Tue, 6 Aug 2002 02:35:51 +0000 (02:35 +0000)]
ITS#1998 ber_mem2bv should accept 0-length calls, just like ber_strdup.

22 years agoITS#1998 UTF8StringNormalize should accept all-space vals
Howard Chu [Tue, 6 Aug 2002 02:35:24 +0000 (02:35 +0000)]
ITS#1998 UTF8StringNormalize should accept all-space vals

22 years agoMisc clean up of last commit.
Kurt Zeilenga [Mon, 5 Aug 2002 23:40:08 +0000 (23:40 +0000)]
Misc clean up of last commit.
Still need to fix my devbox so I can test this....

22 years agoRework saslRegex code (not yet tested)
Kurt Zeilenga [Mon, 5 Aug 2002 23:16:28 +0000 (23:16 +0000)]
Rework saslRegex code (not yet tested)

22 years agoMinor updates
Kurt Zeilenga [Mon, 5 Aug 2002 20:05:25 +0000 (20:05 +0000)]
Minor updates

22 years agoSet O_EXCL
Kurt Zeilenga [Mon, 5 Aug 2002 19:49:27 +0000 (19:49 +0000)]
Set O_EXCL

22 years agoFix LDIF LF / CRLF handling.
Kurt Zeilenga [Mon, 5 Aug 2002 19:48:50 +0000 (19:48 +0000)]
Fix LDIF LF / CRLF handling.
Patch suggested by Matthew Backes <lucca@csun.edu>

22 years agoPrevent overflow in .rej creation (ITS#2007)
Kurt Zeilenga [Mon, 5 Aug 2002 19:44:24 +0000 (19:44 +0000)]
Prevent overflow in .rej creation (ITS#2007)

22 years agoSet O_EXCL (ITS#2009)
Kurt Zeilenga [Mon, 5 Aug 2002 19:43:01 +0000 (19:43 +0000)]
Set O_EXCL (ITS#2009)

22 years agoFix lutil_str*() warnings
Kurt Zeilenga [Mon, 5 Aug 2002 17:56:13 +0000 (17:56 +0000)]
Fix lutil_str*() warnings

22 years agoForced commit:
Kurt Zeilenga [Mon, 5 Aug 2002 17:54:35 +0000 (17:54 +0000)]
Forced commit:
The log entries for the previous two commits were swapped by mistake.

22 years agoPatch: add OpenLDAPaci #public# access (ITS#2005)
Kurt Zeilenga [Mon, 5 Aug 2002 17:53:39 +0000 (17:53 +0000)]
Patch: add OpenLDAPaci #public# access  (ITS#2005)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

I couldn't find a way for an OpenLDAPaci to grant public access to an
entry, so I added a dnType #public# for that.  It is in the position
of subjectDn in the draft, which seems kind of stupid, so I put it
in the position of dnType instead.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.

22 years agoPatch: ACL #access-id#<invalid-DN> granted access to everyone (ITS#2006)
Kurt Zeilenga [Mon, 5 Aug 2002 17:52:16 +0000 (17:52 +0000)]
Patch: ACL #access-id#<invalid-DN> granted access to everyone  (ITS#2006)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

There is a bug in OpenLDAPaci's "access-id":  If the specified DN is
invalid so dnNormalize2() fails, everyone gets access.
This means that e.g. "#access-id#[all]" gives public access, so it
might be considered a feature, but I fixed it anyway:-)  I guess that
means the change should be documented in the release notes, though.

See also ITS#2005 (add OpenLDAPaci #public# access).

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.

22 years agoITS#1956, bvalp declaration
Howard Chu [Sat, 3 Aug 2002 09:15:17 +0000 (09:15 +0000)]
ITS#1956, bvalp declaration

22 years agoFix ITS#1994, Windows heap consistency
Howard Chu [Sat, 3 Aug 2002 02:57:52 +0000 (02:57 +0000)]
Fix ITS#1994, Windows heap consistency

22 years agoneed <lutil.h> for lutil_gentime
Pierangelo Masarati [Fri, 2 Aug 2002 10:24:03 +0000 (10:24 +0000)]
need <lutil.h> for lutil_gentime

22 years agofix previous commit
Pierangelo Masarati [Fri, 2 Aug 2002 10:00:44 +0000 (10:00 +0000)]
fix previous commit

22 years agoAdd note regarding user/system checks and operational attributes.
Kurt Zeilenga [Fri, 2 Aug 2002 00:55:50 +0000 (00:55 +0000)]
Add note regarding user/system checks and operational attributes.

22 years agoRevert previous commit. Fix needs more design.
Howard Chu [Thu, 1 Aug 2002 07:09:11 +0000 (07:09 +0000)]
Revert previous commit. Fix needs more design.

22 years agoITS#1995 return error text when ldap_pvt_tls_check_hostname fails
Howard Chu [Thu, 1 Aug 2002 03:23:29 +0000 (03:23 +0000)]
ITS#1995 return error text when ldap_pvt_tls_check_hostname fails

22 years agoITS#910, ITS#1983 retry partial writes in ber_pvt_sb_do_write
Howard Chu [Thu, 1 Aug 2002 03:03:52 +0000 (03:03 +0000)]
ITS#910, ITS#1983 retry partial writes in ber_pvt_sb_do_write
blind fix, needs testing

22 years agoITS#1951: saslRegexp limits syntax of regular expressions
Kurt Zeilenga [Thu, 1 Aug 2002 01:10:55 +0000 (01:10 +0000)]
ITS#1951: saslRegexp limits syntax of regular expressions
Don't normalize regex.
Also, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/

22 years agoFix bdb_idl_union of range and list (related to ITS#1969
Howard Chu [Wed, 31 Jul 2002 23:43:56 +0000 (23:43 +0000)]
Fix bdb_idl_union of range and list (related to ITS#1969

22 years agooperationsError != Internal Error
Kurt Zeilenga [Wed, 31 Jul 2002 22:49:02 +0000 (22:49 +0000)]
operationsError != Internal Error
hence, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/

22 years agoAdd member filter components to groupOfName assertions
Kurt Zeilenga [Tue, 30 Jul 2002 04:14:58 +0000 (04:14 +0000)]
Add member filter components to groupOfName assertions

22 years agoclean up curly matching
Kurt Zeilenga [Sun, 28 Jul 2002 07:37:46 +0000 (07:37 +0000)]
clean up curly matching

22 years agoFix for:
Kurt Zeilenga [Sun, 28 Jul 2002 07:27:55 +0000 (07:27 +0000)]
Fix for:
SASL regex segmentation faults with group based acls (ITS#1978)
based, in part, by patch submitted by Simon Wilkinson <simon@sxw.org.uk>.

22 years agoFix up restart code for EINTR
Kurt Zeilenga [Sun, 28 Jul 2002 05:30:39 +0000 (05:30 +0000)]
Fix up restart code for EINTR

22 years agoFix pkiUser
Kurt Zeilenga [Sat, 27 Jul 2002 10:25:42 +0000 (10:25 +0000)]
Fix pkiUser

22 years agoITS#1965: use snprintf
Kurt Zeilenga [Sat, 27 Jul 2002 07:39:50 +0000 (07:39 +0000)]
ITS#1965: use snprintf

22 years agoITS#1985 fix: blind commit
Kurt Zeilenga [Sat, 27 Jul 2002 07:37:04 +0000 (07:37 +0000)]
ITS#1985 fix: blind commit

22 years agoImprove schema error messages
Kurt Zeilenga [Sat, 27 Jul 2002 06:08:51 +0000 (06:08 +0000)]
Improve schema error messages

22 years agoIf HAVE_EBCDIC, translate dbname from ASCII to EBCDIC in ldbm_open.
Howard Chu [Sat, 27 Jul 2002 04:43:48 +0000 (04:43 +0000)]
If HAVE_EBCDIC, translate dbname from ASCII to EBCDIC in ldbm_open.

22 years agotest progs need -llutil
Howard Chu [Sat, 27 Jul 2002 03:34:23 +0000 (03:34 +0000)]
test progs need -llutil

22 years agotest programs need -llutil
Howard Chu [Sat, 27 Jul 2002 03:20:47 +0000 (03:20 +0000)]
test programs need -llutil

22 years agotest programs need -llutil
Howard Chu [Sat, 27 Jul 2002 03:06:15 +0000 (03:06 +0000)]
test programs need -llutil

22 years agoFix segfault from ITS#1960 hacks
Howard Chu [Sat, 27 Jul 2002 02:19:44 +0000 (02:19 +0000)]
Fix segfault from ITS#1960 hacks

22 years agoUse lutil_gentime
Howard Chu [Sat, 27 Jul 2002 02:10:43 +0000 (02:10 +0000)]
Use lutil_gentime

22 years agoSilence struct tm warnings
Howard Chu [Sat, 27 Jul 2002 02:10:02 +0000 (02:10 +0000)]
Silence struct tm warnings

22 years agoDetect EBCDIC for SP2NL/NL2SP translation
Howard Chu [Sat, 27 Jul 2002 00:56:33 +0000 (00:56 +0000)]
Detect EBCDIC for SP2NL/NL2SP translation

22 years agoMoved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Howard Chu [Sat, 27 Jul 2002 00:26:27 +0000 (00:26 +0000)]
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Added lutil_gentime

22 years agoMoved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Howard Chu [Sat, 27 Jul 2002 00:25:16 +0000 (00:25 +0000)]
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Added lutil_gentime, moved lutil_vsnprintf to stdio.c

22 years agoMoved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Howard Chu [Sat, 27 Jul 2002 00:24:02 +0000 (00:24 +0000)]
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy

22 years agoAdditional tweak for HAVE_PTHREADS_OS390
Howard Chu [Sat, 27 Jul 2002 00:12:39 +0000 (00:12 +0000)]
Additional tweak for HAVE_PTHREADS_OS390

22 years agoUse lutil_progname, #include <lutil.h> to get it.
Howard Chu [Sat, 27 Jul 2002 00:06:27 +0000 (00:06 +0000)]
Use lutil_progname, #include <lutil.h> to get it.

22 years agoClarify error messages
Kurt Zeilenga [Fri, 26 Jul 2002 17:35:57 +0000 (17:35 +0000)]
Clarify error messages

22 years agouse strongAuthRequired instead of operationsError to indicate
Kurt Zeilenga [Fri, 26 Jul 2002 15:29:36 +0000 (15:29 +0000)]
use strongAuthRequired instead of operationsError to indicate
authentication required before modification.

22 years agoRevert previous commit, too much broken
Howard Chu [Fri, 26 Jul 2002 14:22:45 +0000 (14:22 +0000)]
Revert previous commit, too much broken

22 years agoFix previous commit
Howard Chu [Fri, 26 Jul 2002 13:46:09 +0000 (13:46 +0000)]
Fix previous commit

22 years agostdio kludge for OS/390; stdlib.h must be included after stdio.h
Howard Chu [Fri, 26 Jul 2002 13:36:04 +0000 (13:36 +0000)]
stdio kludge for OS/390; stdlib.h must be included after stdio.h

22 years agoFix argvec for OS/390
Howard Chu [Fri, 26 Jul 2002 13:29:37 +0000 (13:29 +0000)]
Fix argvec for OS/390

22 years agoInclude <sys/stat.h> for mkdir prototype
Howard Chu [Fri, 26 Jul 2002 13:24:37 +0000 (13:24 +0000)]
Include <sys/stat.h> for mkdir prototype

22 years agoMust include <stdio.h> for prototypes
Howard Chu [Fri, 26 Jul 2002 13:21:27 +0000 (13:21 +0000)]
Must include <stdio.h> for prototypes

22 years agoUse both <string.h> and <strings.h> if BOTH_STRINGS_H is defined
Howard Chu [Fri, 26 Jul 2002 11:31:29 +0000 (11:31 +0000)]
Use both <string.h> and <strings.h> if BOTH_STRINGS_H is defined

22 years agoMinor uniformity tweaks, use lutil_progname, don't use fscanf
Howard Chu [Fri, 26 Jul 2002 03:22:53 +0000 (03:22 +0000)]
Minor uniformity tweaks, use lutil_progname, don't use fscanf

22 years agoMake liblutil before liblunicde, ucgendat needs liblutil
Howard Chu [Fri, 26 Jul 2002 03:17:21 +0000 (03:17 +0000)]
Make liblutil before liblunicde, ucgendat needs liblutil

22 years agoMoved <stdio.h> before <ac/stdlib.h>
Howard Chu [Fri, 26 Jul 2002 03:16:21 +0000 (03:16 +0000)]
Moved <stdio.h> before <ac/stdlib.h>

22 years agoSome tweaks for OS/390 pthreads. Func signatures are different, return
Howard Chu [Fri, 26 Jul 2002 03:15:25 +0000 (03:15 +0000)]
Some tweaks for OS/390 pthreads. Func signatures are different, return
val is 0/-1 with err in errno instead of in return val.

22 years agoFix previous commit, "data" disappeared...
Howard Chu [Fri, 26 Jul 2002 03:14:13 +0000 (03:14 +0000)]
Fix previous commit, "data" disappeared...

22 years agoConditionalize use of vsyslog
Howard Chu [Fri, 26 Jul 2002 02:56:01 +0000 (02:56 +0000)]
Conditionalize use of vsyslog

22 years agoMore 64-bit hacking...
Kurt Zeilenga [Thu, 25 Jul 2002 15:00:31 +0000 (15:00 +0000)]
More 64-bit hacking...
This code should be rewritten to avoid fixed sized types.

22 years agofix normalization bug; change time stamping by using createTimestamp and modifyTimest...
Pierangelo Masarati [Thu, 25 Jul 2002 09:49:02 +0000 (09:49 +0000)]
fix normalization bug; change time stamping by using createTimestamp and modifyTimestamp (related to ITS#1984)

22 years agofix normalization bug (related to ITS#1984)
Pierangelo Masarati [Thu, 25 Jul 2002 09:48:29 +0000 (09:48 +0000)]
fix normalization bug (related to ITS#1984)

22 years agoWrap get_ca_list opendir code with #if HAVE_DIRENT_H || dirent to avoid
Howard Chu [Wed, 24 Jul 2002 19:36:03 +0000 (19:36 +0000)]
Wrap get_ca_list opendir code with #if HAVE_DIRENT_H || dirent to avoid
compile errors on incompatible build platforms.

22 years agonamedref is now a Proposed Standard RFC
Kurt Zeilenga [Wed, 24 Jul 2002 15:48:27 +0000 (15:48 +0000)]
namedref is now a Proposed Standard RFC

22 years agoBootParamSyntax: be more liberal than the ABNF such that
Kurt Zeilenga [Wed, 24 Jul 2002 15:29:22 +0000 (15:29 +0000)]
BootParamSyntax: be more liberal than the ABNF such that
examples in RFC 2307 are treated as valid.

22 years agoShould allow keystring in bootParams
Kurt Zeilenga [Wed, 24 Jul 2002 15:19:40 +0000 (15:19 +0000)]
Should allow keystring in bootParams

22 years agoClarify use of slapd.conf(5) v ldap.conf(5).
Kurt Zeilenga [Wed, 24 Jul 2002 03:11:58 +0000 (03:11 +0000)]
Clarify use of slapd.conf(5) v ldap.conf(5).

22 years agoClean up last commit
Kurt Zeilenga [Tue, 23 Jul 2002 18:41:30 +0000 (18:41 +0000)]
Clean up last commit

22 years agoadd feature macros
Kurt Zeilenga [Tue, 23 Jul 2002 18:37:22 +0000 (18:37 +0000)]
add feature macros

22 years agomisc cleanup
Kurt Zeilenga [Tue, 23 Jul 2002 18:35:12 +0000 (18:35 +0000)]
misc cleanup

22 years agosnprintf cleanup
Kurt Zeilenga [Tue, 23 Jul 2002 18:31:42 +0000 (18:31 +0000)]
snprintf cleanup

22 years agoucdata presently uses sized types. sized types use should be avoided
Kurt Zeilenga [Tue, 23 Jul 2002 18:29:48 +0000 (18:29 +0000)]
ucdata presently uses sized types.  sized types use should be avoided
as they are not be available on all platforms.

22 years agoMisc sprintf/snprintf cleanup
Kurt Zeilenga [Tue, 23 Jul 2002 18:26:33 +0000 (18:26 +0000)]
Misc sprintf/snprintf cleanup