]> git.sur5r.net Git - openldap/log
openldap
22 years agoCLDAP fixes
Kurt Zeilenga [Wed, 6 Mar 2002 20:58:20 +0000 (20:58 +0000)]
CLDAP fixes

22 years agoUpdate handling of AND/OR indexing where element is undefined.
Kurt Zeilenga [Mon, 4 Mar 2002 22:32:33 +0000 (22:32 +0000)]
Update handling of AND/OR indexing where element is undefined.

22 years agoFix typo
Kurt Zeilenga [Mon, 4 Mar 2002 22:26:47 +0000 (22:26 +0000)]
Fix typo

22 years agoFix callback initializer.
Kurt Zeilenga [Mon, 4 Mar 2002 21:28:46 +0000 (21:28 +0000)]
Fix callback initializer.

22 years agoUpdates to reflect recent contributions
Kurt Zeilenga [Mon, 4 Mar 2002 18:50:38 +0000 (18:50 +0000)]
Updates to reflect recent contributions

22 years agobackout previous change; validation has been added to dnNormalize functions
Pierangelo Masarati [Sat, 2 Mar 2002 17:28:19 +0000 (17:28 +0000)]
backout previous change; validation has been added to dnNormalize functions

22 years agoAdd validation.
Kurt Zeilenga [Sat, 2 Mar 2002 17:05:29 +0000 (17:05 +0000)]
Add validation.

22 years agonull length string is not allowed
Pierangelo Masarati [Sat, 2 Mar 2002 14:28:08 +0000 (14:28 +0000)]
null length string is not allowed

22 years agoobsoleted by smith-psearch
Kurt Zeilenga [Fri, 1 Mar 2002 20:31:15 +0000 (20:31 +0000)]
obsoleted by smith-psearch

22 years agoFix substring index error handling
Kurt Zeilenga [Fri, 1 Mar 2002 19:07:15 +0000 (19:07 +0000)]
Fix substring index error handling

22 years agoassign 'published' OID to subentry control
Kurt Zeilenga [Fri, 1 Mar 2002 19:06:57 +0000 (19:06 +0000)]
assign 'published' OID to subentry control

22 years agoAdd some undefined assertion tests
Kurt Zeilenga [Fri, 1 Mar 2002 18:58:11 +0000 (18:58 +0000)]
Add some undefined assertion tests

22 years agoValidate filter and compare inputs
Kurt Zeilenga [Fri, 1 Mar 2002 18:52:45 +0000 (18:52 +0000)]
Validate filter and compare inputs

22 years agoAdd normalize_validate_normalize() to be use instead of value_normalize()
Kurt Zeilenga [Fri, 1 Mar 2002 18:05:47 +0000 (18:05 +0000)]
Add normalize_validate_normalize() to be use instead of value_normalize()
where value has not yet been validated.

22 years agoAdd a value_validate() function to be used by prior to value_normalize
Kurt Zeilenga [Fri, 1 Mar 2002 17:36:22 +0000 (17:36 +0000)]
Add a value_validate() function to be used by prior to value_normalize
calls as needed (compare/filters).

22 years agoUsing new UTF8bv* all over, getting rid of UTF8normalize() and
Stig Venaas [Wed, 27 Feb 2002 16:11:24 +0000 (16:11 +0000)]
Using new UTF8bv* all over, getting rid of UTF8normalize() and
UTF8normcmp().

22 years agoAdded code for approximate matching in UTF8bvnormalize() and changed to use
Stig Venaas [Tue, 26 Feb 2002 18:38:40 +0000 (18:38 +0000)]
Added code for approximate matching in UTF8bvnormalize() and changed to use
this in approxMatch etc in schema_init.c

22 years agotool install should not be dependent on $(BUILD_LDBM)
Kurt Zeilenga [Mon, 25 Feb 2002 16:57:29 +0000 (16:57 +0000)]
tool install should not be dependent on $(BUILD_LDBM)

22 years agoOptimizing UTF8bvnormcmp() by adding flags that tells which arguments are
Stig Venaas [Mon, 25 Feb 2002 13:20:09 +0000 (13:20 +0000)]
Optimizing UTF8bvnormcmp() by adding flags that tells which arguments are
in NFC. By default no arguments are assumed to be NFC.

22 years agoMinor tweaks.
Kurt Zeilenga [Sun, 24 Feb 2002 18:56:06 +0000 (18:56 +0000)]
Minor tweaks.

22 years agoC translator portability changes (ITS#1609)
Kurt Zeilenga [Sat, 23 Feb 2002 23:47:37 +0000 (23:47 +0000)]
C translator portability changes (ITS#1609)

22 years agoSilence a warning
Kurt Zeilenga [Sat, 23 Feb 2002 23:26:48 +0000 (23:26 +0000)]
Silence a warning

22 years agoCheck for -ldb4 before -ldb
Kurt Zeilenga [Sat, 23 Feb 2002 23:00:26 +0000 (23:00 +0000)]
Check for -ldb4 before -ldb

22 years agoReturn proper result codes for usage errors
Kurt Zeilenga [Thu, 21 Feb 2002 19:29:32 +0000 (19:29 +0000)]
Return proper result codes for usage errors

22 years agoFix bug in unused function
Kurt Zeilenga [Thu, 21 Feb 2002 19:28:49 +0000 (19:28 +0000)]
Fix bug in unused function

22 years agoIf port is zero, use default.
Kurt Zeilenga [Thu, 21 Feb 2002 15:39:35 +0000 (15:39 +0000)]
If port is zero, use default.

22 years agoAdded UTF8bvnormcmp(), should replace UTF8normcmp()
Stig Venaas [Wed, 20 Feb 2002 15:51:10 +0000 (15:51 +0000)]
Added UTF8bvnormcmp(), should replace UTF8normcmp()

22 years ago#ifdef local time hack
Pierangelo Masarati [Tue, 19 Feb 2002 09:11:55 +0000 (09:11 +0000)]
#ifdef local time hack

22 years ago#ifdef ACI/authpasswd schema
Kurt Zeilenga [Mon, 18 Feb 2002 20:06:50 +0000 (20:06 +0000)]
#ifdef ACI/authpasswd schema

22 years ago#ifdef experimental controls
Kurt Zeilenga [Mon, 18 Feb 2002 19:48:27 +0000 (19:48 +0000)]
#ifdef experimental controls

22 years agoAssigned 'published' OID for whoami? op
Kurt Zeilenga [Mon, 18 Feb 2002 18:22:07 +0000 (18:22 +0000)]
Assigned 'published' OID for whoami? op

22 years agoUpdates from SDF
Kurt Zeilenga [Mon, 18 Feb 2002 18:10:25 +0000 (18:10 +0000)]
Updates from SDF

22 years agoUpdates from -devel
Kurt Zeilenga [Mon, 18 Feb 2002 18:09:26 +0000 (18:09 +0000)]
Updates from -devel

22 years agoMore
Kurt Zeilenga [Mon, 18 Feb 2002 18:05:11 +0000 (18:05 +0000)]
More

22 years agoMisc updates
Kurt Zeilenga [Mon, 18 Feb 2002 18:02:26 +0000 (18:02 +0000)]
Misc updates

22 years agoChanged supportedFeatures to array of struct bervals OPENLDAP_REL_ENG_2_1_BP
Howard Chu [Fri, 15 Feb 2002 16:33:44 +0000 (16:33 +0000)]
Changed supportedFeatures to array of struct bervals

22 years agoChanged reqoid to struct berval
Howard Chu [Fri, 15 Feb 2002 16:27:31 +0000 (16:27 +0000)]
Changed reqoid to struct berval

22 years agoAdd basic objectClass filtering to filtered replicas
Howard Chu [Fri, 15 Feb 2002 15:21:13 +0000 (15:21 +0000)]
Add basic objectClass filtering to filtered replicas

22 years agoFix ad_inlist typo on oc->required
Howard Chu [Fri, 15 Feb 2002 14:48:01 +0000 (14:48 +0000)]
Fix ad_inlist typo on oc->required

22 years agouse memchr in ber_bvchr
Pierangelo Masarati [Thu, 14 Feb 2002 21:10:13 +0000 (21:10 +0000)]
use memchr in ber_bvchr

22 years agosubstrings match works with NULs in UTF8 strings
Pierangelo Masarati [Thu, 14 Feb 2002 18:55:38 +0000 (18:55 +0000)]
substrings match works with NULs in UTF8 strings

22 years agodon't free dangling pointers :(
Pierangelo Masarati [Thu, 14 Feb 2002 18:15:56 +0000 (18:15 +0000)]
don't free dangling pointers :(

22 years agonot-so-easy-to-spot bug in filter writing
Pierangelo Masarati [Thu, 14 Feb 2002 18:01:15 +0000 (18:01 +0000)]
not-so-easy-to-spot bug in filter writing

22 years agofirst round at replacing UTF8normalize with UTF8bvnormalize
Pierangelo Masarati [Thu, 14 Feb 2002 16:01:48 +0000 (16:01 +0000)]
first round at replacing UTF8normalize with UTF8bvnormalize

22 years agoAdded UTF8bvnormalize which is like UTF8normalize but returns berval. It
Stig Venaas [Thu, 14 Feb 2002 14:03:27 +0000 (14:03 +0000)]
Added UTF8bvnormalize which is like UTF8normalize but returns berval. It
can be passed a pointer to the berval to be used for the return value. If
this is NULL, it will allocate a new one.

22 years agoFor ITS#1601, add ber_init2() using given buffer in-place instead of
Howard Chu [Thu, 14 Feb 2002 13:32:40 +0000 (13:32 +0000)]
For ITS#1601, add ber_init2() using given buffer in-place instead of
allocating a copy.

22 years agodisallow unescaped NULs in UTF-8 string values
Pierangelo Masarati [Wed, 13 Feb 2002 22:49:03 +0000 (22:49 +0000)]
disallow unescaped NULs in UTF-8 string values

22 years agoFix for Linux on zSeries.
Kurt Zeilenga [Wed, 13 Feb 2002 21:26:24 +0000 (21:26 +0000)]
Fix for Linux on zSeries.

22 years agomake UTF8STringNormalize handle NUL
Pierangelo Masarati [Wed, 13 Feb 2002 21:25:57 +0000 (21:25 +0000)]
make UTF8STringNormalize handle NUL

22 years agofix dnValidate (leak and return SUCCESS)
Pierangelo Masarati [Wed, 13 Feb 2002 19:25:58 +0000 (19:25 +0000)]
fix dnValidate (leak and return SUCCESS)

22 years agoDNs may include NULs
Pierangelo Masarati [Wed, 13 Feb 2002 19:18:31 +0000 (19:18 +0000)]
DNs may include NULs

22 years agoLimit the length of [R]DNs on input to 8192. A lower limit,
Kurt Zeilenga [Wed, 13 Feb 2002 18:11:52 +0000 (18:11 +0000)]
Limit the length of [R]DNs on input to 8192.  A lower limit,
especially for anonymous clients, might be even more reasonable.

22 years agoUse memchr, not strlen, to look for embedded NULs.
Kurt Zeilenga [Wed, 13 Feb 2002 17:48:39 +0000 (17:48 +0000)]
Use memchr, not strlen, to look for embedded NULs.

22 years agoAdd embedded NUL check. This is one case where we don't want to
Kurt Zeilenga [Wed, 13 Feb 2002 17:23:33 +0000 (17:23 +0000)]
Add embedded NUL check.  This is one case where we don't want to
be liberal in what we accept.

22 years agoCheck for NULs in DNs.
Kurt Zeilenga [Wed, 13 Feb 2002 16:41:41 +0000 (16:41 +0000)]
Check for NULs in DNs.

22 years agominor cleanup
Pierangelo Masarati [Wed, 13 Feb 2002 14:44:08 +0000 (14:44 +0000)]
minor cleanup

22 years agohonor the ber_len field to allow to exploit ldap_bv2[r]dn to handle DNs embedded...
Pierangelo Masarati [Wed, 13 Feb 2002 12:09:36 +0000 (12:09 +0000)]
honor the ber_len field to allow to exploit ldap_bv2[r]dn to handle DNs embedded in longer strings ...

22 years agouse ldap_bv2[r]dn and turn ldap_str2[r]dn into wrappers
Pierangelo Masarati [Wed, 13 Feb 2002 11:46:33 +0000 (11:46 +0000)]
use ldap_bv2[r]dn and turn ldap_str2[r]dn into wrappers

22 years agoFix previous commit, need to detect very short packets.
Howard Chu [Wed, 13 Feb 2002 11:29:05 +0000 (11:29 +0000)]
Fix previous commit, need to detect very short packets.

22 years agoprepare for ldap_bv2dn()
Pierangelo Masarati [Wed, 13 Feb 2002 10:05:22 +0000 (10:05 +0000)]
prepare for ldap_bv2dn()

22 years agober_get_next: return error if decoded ber_len is smaller than actual count
Howard Chu [Wed, 13 Feb 2002 09:59:10 +0000 (09:59 +0000)]
ber_get_next: return error if decoded ber_len is smaller than actual count

22 years agoAdd embedded NUL checks, fix last commit
Kurt Zeilenga [Wed, 13 Feb 2002 09:26:25 +0000 (09:26 +0000)]
Add embedded NUL checks, fix last commit

22 years agodnValidate needs to check for embedded NULs.
Kurt Zeilenga [Wed, 13 Feb 2002 09:20:07 +0000 (09:20 +0000)]
dnValidate needs to check for embedded NULs.

22 years ago#if 0 RDN debugging
Kurt Zeilenga [Wed, 13 Feb 2002 08:00:31 +0000 (08:00 +0000)]
#if 0 RDN debugging

22 years agoMisc. DN fixes and cleanups, namely don't muck with AVA_BINARY values
Kurt Zeilenga [Wed, 13 Feb 2002 06:35:27 +0000 (06:35 +0000)]
Misc. DN fixes and cleanups, namely don't muck with AVA_BINARY values
Also, pass empty_bv when bv_val is NULL.

22 years agoQuick (and expensive) fix to detect DNs with embedded NULs
Kurt Zeilenga [Wed, 13 Feb 2002 04:20:11 +0000 (04:20 +0000)]
Quick (and expensive) fix to detect DNs with embedded NULs

22 years agoimprove log message
Kurt Zeilenga [Tue, 12 Feb 2002 22:55:36 +0000 (22:55 +0000)]
improve log message

22 years agoDon't print unprintable keys
Kurt Zeilenga [Tue, 12 Feb 2002 19:29:27 +0000 (19:29 +0000)]
Don't print unprintable keys

22 years agoFix pointer initialization bug
Kurt Zeilenga [Tue, 12 Feb 2002 19:18:39 +0000 (19:18 +0000)]
Fix pointer initialization bug

22 years agoFix overly complex control management
Kurt Zeilenga [Tue, 12 Feb 2002 18:47:48 +0000 (18:47 +0000)]
Fix overly complex control management

22 years agoMinor cleanup.
Kurt Zeilenga [Tue, 12 Feb 2002 04:51:23 +0000 (04:51 +0000)]
Minor cleanup.

22 years agono need to check escaping of normalized dn
Kurt Zeilenga [Tue, 12 Feb 2002 04:50:40 +0000 (04:50 +0000)]
no need to check escaping of normalized dn

22 years agoRevert most of last change
Kurt Zeilenga [Tue, 12 Feb 2002 01:30:35 +0000 (01:30 +0000)]
Revert most of last change

22 years agoMisc cleanup
Kurt Zeilenga [Tue, 12 Feb 2002 00:35:29 +0000 (00:35 +0000)]
Misc cleanup

22 years agoUse scope base searches
Kurt Zeilenga [Mon, 11 Feb 2002 21:25:12 +0000 (21:25 +0000)]
Use scope base searches

22 years agoFix bug in last commit
Kurt Zeilenga [Mon, 11 Feb 2002 21:07:55 +0000 (21:07 +0000)]
Fix bug in last commit

22 years agoNote that we likely need to make some of this conditional.
Kurt Zeilenga [Mon, 11 Feb 2002 20:33:27 +0000 (20:33 +0000)]
Note that we likely need to make some of this conditional.

22 years agoAdd uuid_to_str() detection.
Kurt Zeilenga [Mon, 11 Feb 2002 20:17:08 +0000 (20:17 +0000)]
Add uuid_to_str() detection.

22 years agoFix typo
Kurt Zeilenga [Mon, 11 Feb 2002 18:18:34 +0000 (18:18 +0000)]
Fix typo

22 years agoUse UUID to generate a GID for txn_prepare. Based upon submission
Kurt Zeilenga [Mon, 11 Feb 2002 17:45:39 +0000 (17:45 +0000)]
Use UUID to generate a GID for txn_prepare.   Based upon submission
from Jong Hyuk Choi <jongchoi@us.ibm.com> (ITS#1585 for ITS1575).

22 years agoMove BDB backend initialization to bdb_open. bdb_initialize()
Kurt Zeilenga [Mon, 11 Feb 2002 17:31:09 +0000 (17:31 +0000)]
Move BDB backend initialization to bdb_open.  bdb_initialize()
shouldn't do much more than register callbacks.

22 years agoUse shtool --version for pathtest
Kurt Zeilenga [Mon, 11 Feb 2002 16:55:32 +0000 (16:55 +0000)]
Use shtool --version for pathtest

22 years agoNo need to AC_SUBST(SHTOOL)
Kurt Zeilenga [Mon, 11 Feb 2002 16:43:13 +0000 (16:43 +0000)]
No need to AC_SUBST(SHTOOL)

22 years agoSet SHTOOL directly. Add 'make pathtest'.
Kurt Zeilenga [Mon, 11 Feb 2002 16:40:13 +0000 (16:40 +0000)]
Set SHTOOL directly.  Add 'make pathtest'.

22 years agoFix ITS#1597
Howard Chu [Mon, 11 Feb 2002 09:57:08 +0000 (09:57 +0000)]
Fix ITS#1597

22 years agoFix #include of sasl.h
Howard Chu [Mon, 11 Feb 2002 09:39:15 +0000 (09:39 +0000)]
Fix #include of sasl.h

22 years agoSilence a warning about ldap_debug
Howard Chu [Mon, 11 Feb 2002 09:38:49 +0000 (09:38 +0000)]
Silence a warning about ldap_debug

22 years agoDon't use 'shtool mkln' as ln(1) replacement.
Kurt Zeilenga [Mon, 11 Feb 2002 08:28:51 +0000 (08:28 +0000)]
Don't use 'shtool mkln' as ln(1) replacement.
Allow both <sasl/sasl.h> and <sasl.h>

22 years agoremove cruft related to librewrite
Pierangelo Masarati [Mon, 11 Feb 2002 08:09:25 +0000 (08:09 +0000)]
remove cruft related to librewrite

22 years agoAdd rcs ids
Kurt Zeilenga [Mon, 11 Feb 2002 06:45:59 +0000 (06:45 +0000)]
Add rcs ids

22 years agonotes needs for future additions
Kurt Zeilenga [Mon, 11 Feb 2002 01:58:36 +0000 (01:58 +0000)]
notes needs for future additions

22 years agoMinor astestic changes
Kurt Zeilenga [Mon, 11 Feb 2002 00:28:17 +0000 (00:28 +0000)]
Minor astestic changes

22 years agoAdd a little boldness
Kurt Zeilenga [Sun, 10 Feb 2002 23:49:57 +0000 (23:49 +0000)]
Add a little boldness

22 years agoshtool mkln -s doesn't work like ln -s. Revert for now.
Kurt Zeilenga [Sun, 10 Feb 2002 22:54:02 +0000 (22:54 +0000)]
shtool mkln -s doesn't work like ln -s.  Revert for now.

22 years agoUpdate libtool usage
Kurt Zeilenga [Sun, 10 Feb 2002 22:42:51 +0000 (22:42 +0000)]
Update libtool usage
s/-L.../libraries -lldap/.../libraries/libldap/libldap.la/

22 years agoNeed to libldap/liblber to library path to get proper linkage
Kurt Zeilenga [Sun, 10 Feb 2002 20:14:38 +0000 (20:14 +0000)]
Need to libldap/liblber to library path to get proper linkage

22 years agoFix compile error properly
Kurt Zeilenga [Sun, 10 Feb 2002 18:05:04 +0000 (18:05 +0000)]
Fix compile error properly

22 years agoUpdate Cyrus SASL detection to always look for <sasl.h> regardless
Kurt Zeilenga [Sun, 10 Feb 2002 17:51:19 +0000 (17:51 +0000)]
Update Cyrus SASL detection to always look for <sasl.h> regardless
of version and then try -lsasl2 and -lsasl.  Make SASL code
conditional on SASL_VERSION_MAJOR, not HAVE_CYRUS_SASL.

22 years agoshtool updates
Kurt Zeilenga [Sun, 10 Feb 2002 17:50:58 +0000 (17:50 +0000)]
shtool updates

22 years agoSupport for Cyrus SASLv2. Untested.
Howard Chu [Sun, 10 Feb 2002 14:27:23 +0000 (14:27 +0000)]
Support for Cyrus SASLv2. Untested.