]> git.sur5r.net Git - openldap/log
openldap
22 years agoAdded LDAP_LOG messages
Julius Enarusai [Tue, 19 Mar 2002 17:44:11 +0000 (17:44 +0000)]
Added LDAP_LOG messages

22 years agoFix ITS#1649, a filter constructed from a BUFSIZ input line combined with
Howard Chu [Mon, 18 Mar 2002 16:16:47 +0000 (16:16 +0000)]
Fix ITS#1649, a filter constructed from a BUFSIZ input line combined with
an argv[] filtpattern will be larger than BUFSIZ.

22 years agoUse a single malloc'd block for all the temporary IDL storage in the
Howard Chu [Mon, 18 Mar 2002 11:40:58 +0000 (11:40 +0000)]
Use a single malloc'd block for all the temporary IDL storage in the
filter processing, to avoid runtime stack blowout. Also removes the
need for gigantic thread stacks.

22 years agoFix backend_attribute trying to reference a NULL be. Neither backend_group
Howard Chu [Mon, 18 Mar 2002 08:59:02 +0000 (08:59 +0000)]
Fix backend_attribute trying to reference a NULL be. Neither backend_group
nor backend_attribute need to worry about the noSubs parameter of
select_backend().

22 years agouse ber_str2bv() instead of ch_strdup/strlen.
Howard Chu [Mon, 18 Mar 2002 08:57:59 +0000 (08:57 +0000)]
use ber_str2bv() instead of ch_strdup/strlen.

22 years agoFix previous commit, lutil_passwd_scheme() returns boolean, not pointer.
Howard Chu [Mon, 18 Mar 2002 08:56:47 +0000 (08:56 +0000)]
Fix previous commit, lutil_passwd_scheme() returns boolean, not pointer.

22 years agoFix previous commit, missing semicolon
Howard Chu [Mon, 18 Mar 2002 08:55:21 +0000 (08:55 +0000)]
Fix previous commit, missing semicolon

22 years agofix compilation error
Kurt Zeilenga [Sun, 17 Mar 2002 23:39:45 +0000 (23:39 +0000)]
fix compilation error

22 years agoAdded LDAP_LOG messages
Julius Enarusai [Fri, 15 Mar 2002 18:57:12 +0000 (18:57 +0000)]
Added LDAP_LOG messages

22 years agoAdded/Modified LDAP_LOG messages to match the existing Debug messages
Julius Enarusai [Fri, 15 Mar 2002 17:50:28 +0000 (17:50 +0000)]
Added/Modified LDAP_LOG messages to match the existing Debug messages

22 years agoAdded LDAP_LOG messages to match existing Debug messages
Julius Enarusai [Fri, 15 Mar 2002 17:21:06 +0000 (17:21 +0000)]
Added LDAP_LOG messages to match existing Debug messages

22 years agoAdded LDAP_LOG messages to these files to match the existing Debug messages
Julius Enarusai [Thu, 14 Mar 2002 22:23:44 +0000 (22:23 +0000)]
Added LDAP_LOG messages to these files to match the existing Debug messages

22 years agoAdded LDAP_LOG messages to the above files to match the existing Debug messages
Julius Enarusai [Thu, 14 Mar 2002 16:34:24 +0000 (16:34 +0000)]
Added LDAP_LOG messages to the above files to match the existing Debug messages

22 years agoCheck components of extensible match filter sooner than later.
Kurt Zeilenga [Tue, 12 Mar 2002 23:07:07 +0000 (23:07 +0000)]
Check components of extensible match filter sooner than later.

22 years agoAlign with back-ldbm version
Kurt Zeilenga [Tue, 12 Mar 2002 22:46:13 +0000 (22:46 +0000)]
Align with back-ldbm version

22 years agoReturn inappropriate matching if the syntaxes don't line up for
Kurt Zeilenga [Mon, 11 Mar 2002 16:29:01 +0000 (16:29 +0000)]
Return inappropriate matching if the syntaxes don't line up for
extensible matching

22 years agoAdd a comment to the check which needs extending to support
Kurt Zeilenga [Mon, 11 Mar 2002 16:12:36 +0000 (16:12 +0000)]
Add a comment to the check which needs extending to support
new extensible matching rules.

22 years agoUse put/get filter to convert string to filter
Kurt Zeilenga [Mon, 11 Mar 2002 05:21:49 +0000 (05:21 +0000)]
Use put/get filter to convert string to filter

22 years agoCopyright 2001, Adrian Thurston, All rights reserved.
Kurt Zeilenga [Mon, 11 Mar 2002 03:39:08 +0000 (03:39 +0000)]
Copyright 2001, Adrian Thurston, All rights reserved.
This software is not subject to any license of
Xandros Corporation.

This is free software; you can redistribute and use it under the same
terms as OpenLDAP itself.

 -------------------------------------------------------------------
This patch adds an option to ldap_get_option which can be called after
ldap_start_tls in order to obtain the pointer to the SSL object used

22 years agoAdd no-op mru_schema_info()...
Kurt Zeilenga [Mon, 11 Mar 2002 03:06:34 +0000 (03:06 +0000)]
Add no-op mru_schema_info()...
Not sure how best to populate matchingRuleUses...

22 years agoITS#1636 fix
Kurt Zeilenga [Mon, 11 Mar 2002 03:05:43 +0000 (03:05 +0000)]
ITS#1636 fix

22 years agoMisc extensible match clean up.
Kurt Zeilenga [Mon, 11 Mar 2002 01:48:37 +0000 (01:48 +0000)]
Misc extensible match clean up.

22 years agoBasic extensible matching test
Kurt Zeilenga [Mon, 11 Mar 2002 01:48:17 +0000 (01:48 +0000)]
Basic extensible matching test

22 years agoReturn EXIT_FAILURE if result code is not success.
Kurt Zeilenga [Mon, 11 Mar 2002 00:25:20 +0000 (00:25 +0000)]
Return EXIT_FAILURE if result code is not success.

22 years agoAdd whoami test
Kurt Zeilenga [Mon, 11 Mar 2002 00:23:18 +0000 (00:23 +0000)]
Add whoami test

22 years agoDeprecate filter_print in favor of filter2bv.
Kurt Zeilenga [Sun, 10 Mar 2002 17:41:14 +0000 (17:41 +0000)]
Deprecate filter_print in favor of filter2bv.

22 years agoFix up handling of extended operations with no request data
Kurt Zeilenga [Sun, 10 Mar 2002 17:40:22 +0000 (17:40 +0000)]
Fix up handling of extended operations with no request data

22 years agoClean up schema checking
Kurt Zeilenga [Sun, 10 Mar 2002 17:39:08 +0000 (17:39 +0000)]
Clean up schema checking

22 years agodetect unavailable hash algorithms at startup
Pierangelo Masarati [Sat, 9 Mar 2002 11:02:32 +0000 (11:02 +0000)]
detect unavailable hash algorithms at startup

22 years agoQuote sed arguments, Solaris seems to need this.
Howard Chu [Fri, 8 Mar 2002 23:32:28 +0000 (23:32 +0000)]
Quote sed arguments, Solaris seems to need this.

22 years agoFix ITS#1615
Howard Chu [Thu, 7 Mar 2002 20:23:48 +0000 (20:23 +0000)]
Fix ITS#1615

22 years agoThe following file fails compile when NEW_LOGGING is enabled.
Julius Enarusai [Thu, 7 Mar 2002 17:50:56 +0000 (17:50 +0000)]
The following file fails compile when NEW_LOGGING is enabled.

22 years agoReplace get_filter generation of fstr with filter2bv().
Kurt Zeilenga [Thu, 7 Mar 2002 03:13:11 +0000 (03:13 +0000)]
Replace get_filter generation of fstr with filter2bv().

22 years ago- added getAttributeByName()-method
Ralf Haferkamp [Wed, 6 Mar 2002 23:04:38 +0000 (23:04 +0000)]
- added getAttributeByName()-method
- Attributes are now organized by the attribute type (i.e. one can add more
  LDAPAttribute-Objects with the same type without violating the X.500 data
  model)

22 years ago- Some fixes in docmentation comments
Ralf Haferkamp [Wed, 6 Mar 2002 22:57:39 +0000 (22:57 +0000)]
- Some fixes in docmentation comments
- added missing #include statement

22 years agoregenerated autoconf/automake related files
Ralf Haferkamp [Wed, 6 Mar 2002 22:55:02 +0000 (22:55 +0000)]
regenerated autoconf/automake related files

22 years ago-replaced deprecated AM_PROG_LIBTOOL with AC_PROG_LIBTOOL
Ralf Haferkamp [Wed, 6 Mar 2002 22:54:02 +0000 (22:54 +0000)]
-replaced deprecated AM_PROG_LIBTOOL with AC_PROG_LIBTOOL
-regenerated autoconf and automake related files

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.