]> git.sur5r.net Git - openldap/log
openldap
21 years agoMore memory cleanup
Howard Chu [Mon, 9 Sep 2002 00:56:57 +0000 (00:56 +0000)]
More memory cleanup

21 years agoPlug memleaks from -r1.45
Howard Chu [Mon, 9 Sep 2002 00:55:52 +0000 (00:55 +0000)]
Plug memleaks from -r1.45

21 years agoAdd note about "children" to access controls section.
Kurt Zeilenga [Mon, 9 Sep 2002 00:47:01 +0000 (00:47 +0000)]
Add note about "children" to access controls section.
Clarify cut-n-past in quickstart.

21 years agoAdded ldapcompare.c to SRCS so it will be processed by make depend
Howard Chu [Sun, 8 Sep 2002 22:01:29 +0000 (22:01 +0000)]
Added ldapcompare.c to SRCS so it will be processed by make depend

21 years agoUnneeded, merged into regular mkdep script
Howard Chu [Sun, 8 Sep 2002 12:37:01 +0000 (12:37 +0000)]
Unneeded, merged into regular mkdep script

21 years agoAdded rules to use "cc -E" output to generate dependencies.
Howard Chu [Sun, 8 Sep 2002 12:36:25 +0000 (12:36 +0000)]
Added rules to use "cc -E" output to generate dependencies.

21 years agoUse C preprocessor to generate #line directives that can be parsed to
Howard Chu [Sun, 8 Sep 2002 11:24:56 +0000 (11:24 +0000)]
Use C preprocessor to generate #line directives that can be parsed to
generate dependencies. setenv MKDEP to this file before running configure.

21 years agoShould resolve ITS#2071
Kurt Zeilenga [Sat, 7 Sep 2002 18:27:57 +0000 (18:27 +0000)]
Should resolve ITS#2071

21 years agooptimize also duplicate/existence check in value delete operations
Pierangelo Masarati [Sat, 7 Sep 2002 16:08:30 +0000 (16:08 +0000)]
optimize also duplicate/existence check in value delete operations

21 years agoRegenerated with Pthread version update
Howard Chu [Sat, 7 Sep 2002 14:24:22 +0000 (14:24 +0000)]
Regenerated with Pthread version update

21 years agoNew POSIX threads version support. Detects Draft 4,5,6,7,10 (final).
Howard Chu [Sat, 7 Sep 2002 14:09:09 +0000 (14:09 +0000)]
New POSIX threads version support. Detects Draft 4,5,6,7,10 (final).
Should eliminate individual checks for pthread_yield, sched_yield,
and pthread_detach, but they're left in for now as a redundant check.

21 years agostdio #defines for HAVE_EBCDIC
Howard Chu [Sat, 7 Sep 2002 14:05:17 +0000 (14:05 +0000)]
stdio #defines for HAVE_EBCDIC

21 years agoAdd NT-MTA-MD5 Support.
Kurt Zeilenga [Sat, 7 Sep 2002 01:51:12 +0000 (01:51 +0000)]
Add NT-MTA-MD5 Support.

Based, in part, from ITS#1502 submission from John Morrissey.

Copyright 2001, John Morrissey (jwm at horde dot net), All rights reserved.
This is free software; you can redistribute and use it under the same terms
as OpenLDAP itself.

21 years agoRemove dependencies on HAVE_VSNPRINTF, use replacement in liblutil/stdio.c
Howard Chu [Fri, 6 Sep 2002 20:54:22 +0000 (20:54 +0000)]
Remove dependencies on HAVE_VSNPRINTF, use replacement in liblutil/stdio.c
if needed. Same check for snprintf.

21 years agoFix typo in one-level searches, left over from -r1.23 cleanup
Howard Chu [Fri, 6 Sep 2002 12:37:24 +0000 (12:37 +0000)]
Fix typo in one-level searches, left over from -r1.23 cleanup

21 years agoMerged ldap_get_values_ber into ldap_get_attribute_ber.
Howard Chu [Fri, 6 Sep 2002 04:57:21 +0000 (04:57 +0000)]
Merged ldap_get_values_ber into ldap_get_attribute_ber.

21 years agoSome LCUP clean up
Kurt Zeilenga [Fri, 6 Sep 2002 00:29:20 +0000 (00:29 +0000)]
Some LCUP clean up

21 years agoAdded 2nd version of print_entry using new ldap_get_*_ber functions.
Howard Chu [Thu, 5 Sep 2002 11:38:07 +0000 (11:38 +0000)]
Added 2nd version of print_entry using new ldap_get_*_ber functions.
#if'd out by default, but it works fine. Kept both for easy comparison.

21 years agoAdded new ldap_get_{dn,attribute,values}_ber functions for linearly
Howard Chu [Thu, 5 Sep 2002 11:33:32 +0000 (11:33 +0000)]
Added new ldap_get_{dn,attribute,values}_ber functions for linearly
processing a search entry. Avoids O(n^2) ldap_get_values() behavior.

21 years agoReplace HACK in slap_sasl_canonicalize with safer test.
Howard Chu [Thu, 5 Sep 2002 11:01:12 +0000 (11:01 +0000)]
Replace HACK in slap_sasl_canonicalize with safer test.

21 years agoback_attribute() should use ACL_AUTH not ACL_READ (at
Kurt Zeilenga [Thu, 5 Sep 2002 02:37:10 +0000 (02:37 +0000)]
back_attribute() should use ACL_AUTH not ACL_READ (at
least for current callers, may need to pass it the
permission level)

21 years agoAdd reference to ldap.conf(5)
Kurt Zeilenga [Wed, 4 Sep 2002 21:00:11 +0000 (21:00 +0000)]
Add reference to ldap.conf(5)

21 years agoMore LDAPNOINIT statement to top of DESCRIPTION
Kurt Zeilenga [Wed, 4 Sep 2002 20:59:57 +0000 (20:59 +0000)]
More LDAPNOINIT statement to top of DESCRIPTION

21 years agoITS#2065 omit libbackends.a when no static backends configured.
Howard Chu [Wed, 4 Sep 2002 10:58:25 +0000 (10:58 +0000)]
ITS#2065 omit libbackends.a when no static backends configured.
Also fixed dependencies for dynamic backends and tools.

21 years agoSet SSL session cache context ID
Howard Chu [Wed, 4 Sep 2002 07:17:31 +0000 (07:17 +0000)]
Set SSL session cache context ID

21 years agoUse registered 666 numbers for LCUP controls
Kurt Zeilenga [Wed, 4 Sep 2002 02:46:24 +0000 (02:46 +0000)]
Use registered 666 numbers for LCUP controls

21 years agoFix previous commit - still need X509_free for peer cert.
Howard Chu [Wed, 4 Sep 2002 02:28:42 +0000 (02:28 +0000)]
Fix previous commit - still need X509_free for peer cert.
Just not for local/my cert.

21 years agoMove ldap_control_dup() to ldap_pvt.h
Kurt Zeilenga [Wed, 4 Sep 2002 02:14:12 +0000 (02:14 +0000)]
Move ldap_control_dup() to ldap_pvt.h

21 years agoLDAP Client Update Protocol - non-persistent update (TODO: response control ...)
Jong Hyuk Choi [Wed, 4 Sep 2002 02:00:42 +0000 (02:00 +0000)]
LDAP Client Update Protocol - non-persistent update (TODO: response control ...)

21 years agoDon't call X509_free after SSL_get_certificate, it's not a duplicate.
Howard Chu [Wed, 4 Sep 2002 01:56:09 +0000 (01:56 +0000)]
Don't call X509_free after SSL_get_certificate, it's not a duplicate.

21 years agooptimize duplicate detection based on mods and existing values count
Pierangelo Masarati [Tue, 3 Sep 2002 15:12:36 +0000 (15:12 +0000)]
optimize duplicate detection based on mods and existing values count

21 years agoExtend checks to substrings rules. Need to kludge around
Kurt Zeilenga [Tue, 3 Sep 2002 07:28:57 +0000 (07:28 +0000)]
Extend checks to substrings rules.  Need to kludge around
LDAP's kludged builtin substrings rules.

21 years agoAdd appropriate matching rule checks.
Kurt Zeilenga [Tue, 3 Sep 2002 07:01:09 +0000 (07:01 +0000)]
Add appropriate matching rule checks.
Clean up syntax error reporting.

21 years agoDon't use sasl_set_alloc on Cyrus 2, it manages all of its memory
Howard Chu [Mon, 2 Sep 2002 22:25:26 +0000 (22:25 +0000)]
Don't use sasl_set_alloc on Cyrus 2, it manages all of its memory
internally and we don't want to get in the way.

21 years agoAdd ldapsasl
Kurt Zeilenga [Mon, 2 Sep 2002 22:18:49 +0000 (22:18 +0000)]
Add ldapsasl

21 years agoUpdate comment
Kurt Zeilenga [Mon, 2 Sep 2002 22:07:23 +0000 (22:07 +0000)]
Update comment

21 years ago/*
Pierangelo Masarati [Mon, 2 Sep 2002 19:41:03 +0000 (19:41 +0000)]
/*
 * The original code performs ( n ) normalizations
 * and ( n * ( n - 1 ) / 2 ) matches, which hide
 * the same number of normalizations.  The new code
 * performs the same number of normalizations ( n )
 * and ( n * ( n - 1 ) / 2 ) mem compares, far less
 * expensive than an entire match, if a match is
 * equivalent to a normalization and a mem compare ...
 *
 * This is far more memory expensive than the previous,
 * but it can heavily improve performances when big
 * chunks of data are added (typical example is a group
 * with thousands of DN-syntax members; on my system:
 * for members of 5-RDN DNs,

 members         orig            bvmatch (dirty) new
 1000            0m38.456s       0m0.553s        0m0.608s
 2000            2m33.341s       0m0.851s        0m1.003s

 * Moreover, 100 groups with 10000 members each were
 * added in 37m27.933s (an analogous LDIF file was
 * loaded into Active Directory in 38m28.682s, BTW).
 *
 * Maybe we could switch to the new algorithm when
 * the number of values overcomes a given threshold?
 */

21 years agovarious fixes and improvements
Pierangelo Masarati [Mon, 2 Sep 2002 19:39:31 +0000 (19:39 +0000)]
various fixes and improvements

21 years agouse bvmatch() instead of ber_bvcmp() when testing for match without ordering
Pierangelo Masarati [Mon, 2 Sep 2002 19:39:06 +0000 (19:39 +0000)]
use bvmatch() instead of ber_bvcmp() when testing for match without ordering

21 years agoDocument -R
Kurt Zeilenga [Mon, 2 Sep 2002 19:25:10 +0000 (19:25 +0000)]
Document -R

21 years agoAdd NOOP search support.
Kurt Zeilenga [Mon, 2 Sep 2002 17:38:17 +0000 (17:38 +0000)]
Add NOOP search support.

21 years agoFix ldap_X509dn2bv, OpenSSL gives us DN attributeTypes in EBCDIC
Howard Chu [Mon, 2 Sep 2002 13:46:56 +0000 (13:46 +0000)]
Fix ldap_X509dn2bv, OpenSSL gives us DN attributeTypes in EBCDIC

21 years agoFix slapd startup ldapsearch loop
Howard Chu [Sun, 1 Sep 2002 11:39:08 +0000 (11:39 +0000)]
Fix slapd startup ldapsearch loop

21 years agoClarify that rootpw is not needed when rootdn is not within database
Kurt Zeilenga [Sun, 1 Sep 2002 02:54:56 +0000 (02:54 +0000)]
Clarify that rootpw is not needed when rootdn is not within database

21 years agoFormat tweaks
Kurt Zeilenga [Sun, 1 Sep 2002 01:49:25 +0000 (01:49 +0000)]
Format tweaks

21 years agoReflect latest contributions
Kurt Zeilenga [Sun, 1 Sep 2002 01:47:59 +0000 (01:47 +0000)]
Reflect latest contributions

21 years agounifdef -DSLAP_X_MRA_MATCH_DNATTRS
Kurt Zeilenga [Sun, 1 Sep 2002 00:33:20 +0000 (00:33 +0000)]
unifdef -DSLAP_X_MRA_MATCH_DNATTRS

21 years agoForced commit: added comments not whitespace in last commit
Kurt Zeilenga [Sat, 31 Aug 2002 22:24:41 +0000 (22:24 +0000)]
Forced commit: added comments not whitespace in last commit

21 years agoAdd in extra white space
Kurt Zeilenga [Sat, 31 Aug 2002 22:24:05 +0000 (22:24 +0000)]
Add in extra white space

21 years agohave get_mra use mr_usable_with_at() as well
Kurt Zeilenga [Sat, 31 Aug 2002 21:39:42 +0000 (21:39 +0000)]
have get_mra use mr_usable_with_at() as well

21 years agoAdd mr_usable_with_at() routine. Use both in generation
Kurt Zeilenga [Sat, 31 Aug 2002 21:23:45 +0000 (21:23 +0000)]
Add mr_usable_with_at() routine.  Use both in generation
of rule uses, but also in test_filter_mra()

21 years agoMake sure we don't expose hidden attribute types in rule uses
Kurt Zeilenga [Sat, 31 Aug 2002 20:49:50 +0000 (20:49 +0000)]
Make sure we don't expose hidden attribute types in rule uses

21 years agoAdd matching rule use support where assertion syntax != value syntax
Kurt Zeilenga [Sat, 31 Aug 2002 20:42:25 +0000 (20:42 +0000)]
Add matching rule use support where assertion syntax != value syntax

21 years agoList approximates as well in rule uses.
Kurt Zeilenga [Sat, 31 Aug 2002 19:25:41 +0000 (19:25 +0000)]
List approximates as well in rule uses.
Don't yet list ordering rules yet, these require special attention (and
hence are not marked MR_EXT yet)

21 years agoFix last commit.
Kurt Zeilenga [Sat, 31 Aug 2002 19:17:54 +0000 (19:17 +0000)]
Fix last commit.
Also add uses where mr is the attribute's equality rule.

21 years agoMR_EXT rules can be used with any type whose syntax is same as
Kurt Zeilenga [Sat, 31 Aug 2002 19:05:36 +0000 (19:05 +0000)]
MR_EXT rules can be used with any type whose syntax is same as
the syntax's assertion syntax.

21 years agoDon't hide matchingRuleUse's description (now implemented)
Kurt Zeilenga [Sat, 31 Aug 2002 18:41:21 +0000 (18:41 +0000)]
Don't hide matchingRuleUse's description (now implemented)
Use attribute's cname not oid in matching rule uses

21 years agodefinitely fix NOOP in back-bdb
Pierangelo Masarati [Sat, 31 Aug 2002 17:03:42 +0000 (17:03 +0000)]
definitely fix NOOP in back-bdb

21 years agoadd ldif control support (ITS#2060, patch from David Steck <dsteck@novell.com>)
Pierangelo Masarati [Sat, 31 Aug 2002 12:02:39 +0000 (12:02 +0000)]
add ldif control support (ITS#2060, patch from David Steck <dsteck@novell.com>)

21 years agoimproved support for NOOP; add is fine, the other write funcs still need work
Pierangelo Masarati [Sat, 31 Aug 2002 12:00:39 +0000 (12:00 +0000)]
improved support for NOOP; add is fine, the other write funcs still need work

21 years agouse ldap_charray_add instead of dedicated helper; get rid of dependency from ldap...
Pierangelo Masarati [Sat, 31 Aug 2002 11:14:15 +0000 (11:14 +0000)]
use ldap_charray_add instead of dedicated helper; get rid of dependency from ldap-int.h

21 years agofix bitwise matching (courtesy of Luke Howard)
Pierangelo Masarati [Sat, 31 Aug 2002 10:56:27 +0000 (10:56 +0000)]
fix bitwise matching (courtesy of Luke Howard)

21 years agosilence warnings
Pierangelo Masarati [Sat, 31 Aug 2002 10:54:58 +0000 (10:54 +0000)]
silence warnings

21 years agoadd {create,modify}Timestamp to subschema subentry (SHOULD per RFC2251; use server...
Pierangelo Masarati [Sat, 31 Aug 2002 10:49:03 +0000 (10:49 +0000)]
add {create,modify}Timestamp to subschema subentry (SHOULD per RFC2251; use server startup time to be conservative)

21 years agodefine macros for appropriate sizing of lutil buffers
Pierangelo Masarati [Sat, 31 Aug 2002 10:48:02 +0000 (10:48 +0000)]
define macros for appropriate sizing of lutil buffers

21 years agoadd matchingRuleUse to schema; use a berval instead of _oidlen in syntax and matching...
Pierangelo Masarati [Sat, 31 Aug 2002 10:45:22 +0000 (10:45 +0000)]
add matchingRuleUse to schema; use a berval instead of _oidlen in syntax and matching rule

21 years agocleanup comments
Pierangelo Masarati [Sat, 31 Aug 2002 10:41:49 +0000 (10:41 +0000)]
cleanup comments

21 years agosilence debug check
Pierangelo Masarati [Sat, 31 Aug 2002 10:41:11 +0000 (10:41 +0000)]
silence debug check

21 years agofix extendedMatch and approx hfilter andling; get rid of subtree_cond (argh, need...
Pierangelo Masarati [Sat, 31 Aug 2002 10:39:23 +0000 (10:39 +0000)]
fix extendedMatch and approx hfilter andling; get rid of subtree_cond (argh, need to trim it from config and docs ...)

21 years agobetter handling of children_cond
Pierangelo Masarati [Sat, 31 Aug 2002 10:38:29 +0000 (10:38 +0000)]
better handling of children_cond

21 years agotrace illegal condition in backsql_strfcat
Pierangelo Masarati [Sat, 31 Aug 2002 10:37:42 +0000 (10:37 +0000)]
trace illegal condition in backsql_strfcat

21 years agoadd 'children_cond' config statement
Pierangelo Masarati [Sat, 31 Aug 2002 10:36:16 +0000 (10:36 +0000)]
add 'children_cond' config statement

21 years agoadded referral support to back-{ldap,meta}; need to allow send_serch_reference()...
Pierangelo Masarati [Sat, 31 Aug 2002 10:35:23 +0000 (10:35 +0000)]
added referral support to back-{ldap,meta}; need to allow send_serch_reference() handle NULL entry pointer

21 years agofix extendedMatch values return filter control
Pierangelo Masarati [Sat, 31 Aug 2002 10:29:03 +0000 (10:29 +0000)]
fix extendedMatch values return filter control

21 years agodocument another (optional) config directive
Pierangelo Masarati [Sat, 31 Aug 2002 10:27:49 +0000 (10:27 +0000)]
document another (optional) config directive

21 years agoFix previous commit
Howard Chu [Sat, 31 Aug 2002 06:23:46 +0000 (06:23 +0000)]
Fix previous commit

21 years agoOS/390 EBCDIC support
Howard Chu [Sat, 31 Aug 2002 05:14:43 +0000 (05:14 +0000)]
OS/390 EBCDIC support

21 years agoWe don't support substrings matching via extensibleMatch
Kurt Zeilenga [Fri, 30 Aug 2002 19:30:58 +0000 (19:30 +0000)]
We don't support substrings matching via extensibleMatch

21 years agoFix debug statement
Howard Chu [Fri, 30 Aug 2002 14:28:45 +0000 (14:28 +0000)]
Fix debug statement

21 years agoFix crash in mra_free, freeing ber-private value.
Howard Chu [Fri, 30 Aug 2002 12:38:50 +0000 (12:38 +0000)]
Fix crash in mra_free, freeing ber-private value.

21 years agoFix unindent commit
Howard Chu [Fri, 30 Aug 2002 11:48:47 +0000 (11:48 +0000)]
Fix unindent commit

21 years agoUse DB_NODUPDATA when adding IDs. Silence log for DB_NOTFOUND in delete_key,
Howard Chu [Fri, 30 Aug 2002 11:37:43 +0000 (11:37 +0000)]
Use DB_NODUPDATA when adding IDs. Silence log for DB_NOTFOUND in delete_key,
let caller log it if they care.

21 years agoUnindented a level. Fixed logging of keys.
Howard Chu [Fri, 30 Aug 2002 11:21:20 +0000 (11:21 +0000)]
Unindented a level. Fixed logging of keys.

21 years agoDon't mask DB_KEYEXIST errors in bdb_idl_insert_key, let dn2id see them.
Howard Chu [Fri, 30 Aug 2002 10:41:46 +0000 (10:41 +0000)]
Don't mask DB_KEYEXIST errors in bdb_idl_insert_key, let dn2id see them.
Ignore DB_KEYEXIST and DB_NOTFOUND errors in key_change.

21 years agoFix large SASL reads. Use EAGAIN instead of EWOULDBLOCK (was right the
Howard Chu [Fri, 30 Aug 2002 10:11:54 +0000 (10:11 +0000)]
Fix large SASL reads. Use EAGAIN instead of EWOULDBLOCK (was right the
first time after all. see read(2) and write(2)...)

21 years agoGenerate subentries control
Kurt Zeilenga [Fri, 30 Aug 2002 07:43:47 +0000 (07:43 +0000)]
Generate subentries control

21 years agoAdd client-side subentries control support.
Kurt Zeilenga [Fri, 30 Aug 2002 07:05:12 +0000 (07:05 +0000)]
Add client-side subentries control support.
Make sure client controls are not specified multiple times.
NT port updates.

21 years agoClose comment
Kurt Zeilenga [Fri, 30 Aug 2002 06:25:51 +0000 (06:25 +0000)]
Close comment

21 years agoFix #ifdefs (DUPENT should be behind the 0)
Kurt Zeilenga [Fri, 30 Aug 2002 06:17:25 +0000 (06:17 +0000)]
Fix #ifdefs (DUPENT should be behind the 0)

21 years agoRemove those #ifdefs NOOP just added.
Kurt Zeilenga [Fri, 30 Aug 2002 05:43:47 +0000 (05:43 +0000)]
Remove those #ifdefs NOOP just added.

21 years agoAssign NOOP its published OID. I-D to follow.
Kurt Zeilenga [Fri, 30 Aug 2002 05:32:51 +0000 (05:32 +0000)]
Assign NOOP its published OID.  I-D to follow.

21 years agoMore noop #ifdef'ing
Kurt Zeilenga [Fri, 30 Aug 2002 05:10:41 +0000 (05:10 +0000)]
More noop #ifdef'ing

21 years agoPlace NOOP behind #ifdef
Kurt Zeilenga [Fri, 30 Aug 2002 05:02:20 +0000 (05:02 +0000)]
Place NOOP behind #ifdef

21 years agoPrint information about control used.
Kurt Zeilenga [Fri, 30 Aug 2002 04:22:22 +0000 (04:22 +0000)]
Print information about control used.

21 years agoAllow generation of no-op control
Kurt Zeilenga [Fri, 30 Aug 2002 04:14:26 +0000 (04:14 +0000)]
Allow generation of no-op control

21 years agoAdd manageDsaIt/NOOP control support to every tool.
Kurt Zeilenga [Thu, 29 Aug 2002 21:52:45 +0000 (21:52 +0000)]
Add manageDsaIt/NOOP control support to every tool.
Update NT build.

21 years agoAdd to NT build
Kurt Zeilenga [Thu, 29 Aug 2002 21:48:00 +0000 (21:48 +0000)]
Add to NT build

21 years agoRework client control parsing... need to implement
Kurt Zeilenga [Thu, 29 Aug 2002 21:36:36 +0000 (21:36 +0000)]
Rework client control parsing...  need to implement
common controls across all tools.

21 years agoYet another bug fix... this one from Luke.
Kurt Zeilenga [Thu, 29 Aug 2002 19:54:17 +0000 (19:54 +0000)]
Yet another bug fix... this one from Luke.

21 years agoreworking of threads in session handling
Pierangelo Masarati [Thu, 29 Aug 2002 19:44:02 +0000 (19:44 +0000)]
reworking of threads in session handling