]> git.sur5r.net Git - openldap/log
openldap
22 years agoIn presence_candidates(), always return a full match for objectClass.
Howard Chu [Fri, 30 Nov 2001 01:21:52 +0000 (01:21 +0000)]
In presence_candidates(), always return a full match for objectClass.

22 years agoClarify acceptability requirements of additional schema items.
Kurt Zeilenga [Thu, 29 Nov 2001 02:05:20 +0000 (02:05 +0000)]
Clarify acceptability requirements of additional schema items.

22 years agoRenamed BDB_ID2ENTRY_PAGESIZE to just BDB_PAGESIZE; set it on each database
Howard Chu [Wed, 28 Nov 2001 20:48:06 +0000 (20:48 +0000)]
Renamed BDB_ID2ENTRY_PAGESIZE to just BDB_PAGESIZE; set it on each database
instead of just the id2entry db. It helps. I also found that tweaking the
environment (set_lg_bsize 2MB; set_cachesize 2MB) helps but those can be
taken care of in a DB_CONFIG file. Tweaked the bdb_bt_compare function; it
really only needs to be set on little-endian machines. (On big-endian machines
a lexical sort gives the same result as an integer sort.) Moved the final
checkpoint back to the dbenv_close, I think this leaves a cleaner log file.

22 years agoITS#1429 url search fix
Kurt Zeilenga [Wed, 28 Nov 2001 16:49:46 +0000 (16:49 +0000)]
ITS#1429 url search fix

22 years agoFix kerberos test
Kurt Zeilenga [Wed, 28 Nov 2001 15:57:36 +0000 (15:57 +0000)]
Fix kerberos test

22 years agoAdded experimental support for DB_DIRTY_READ.
Howard Chu [Wed, 28 Nov 2001 03:11:04 +0000 (03:11 +0000)]
Added experimental support for DB_DIRTY_READ.

22 years agoUse gar if ar(1) is not available
Kurt Zeilenga [Wed, 28 Nov 2001 02:32:47 +0000 (02:32 +0000)]
Use gar if ar(1) is not available

22 years agoITS#1467 passwd fix from Brad Thompson <brad@vecna.com>
Kurt Zeilenga [Wed, 28 Nov 2001 02:23:36 +0000 (02:23 +0000)]
ITS#1467 passwd fix from Brad Thompson <brad@vecna.com>

22 years agoUse -h URL, not -p port
Kurt Zeilenga [Wed, 28 Nov 2001 02:20:36 +0000 (02:20 +0000)]
Use -h URL, not -p port

22 years agoFix typo in last commit
Kurt Zeilenga [Wed, 28 Nov 2001 02:17:55 +0000 (02:17 +0000)]
Fix typo in last commit

22 years agoSupport some MAXPATHLEN alternatives
Kurt Zeilenga [Wed, 28 Nov 2001 02:16:44 +0000 (02:16 +0000)]
Support some MAXPATHLEN alternatives

22 years agoKludge for the Hurd
Kurt Zeilenga [Wed, 28 Nov 2001 02:09:11 +0000 (02:09 +0000)]
Kludge for the Hurd

22 years agoCthread changes for the Hurd.
Kurt Zeilenga [Wed, 28 Nov 2001 02:05:14 +0000 (02:05 +0000)]
Cthread changes for the Hurd.
---
Copyright 2001, Igor Khavkine, All rights reserved.
This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.

22 years agomisc updates
Kurt Zeilenga [Wed, 28 Nov 2001 02:04:00 +0000 (02:04 +0000)]
misc updates

22 years agoCleanup a while() loop.
Howard Chu [Tue, 27 Nov 2001 22:10:01 +0000 (22:10 +0000)]
Cleanup a while() loop.

22 years agoAdd additional projects
Kurt Zeilenga [Tue, 27 Nov 2001 22:02:27 +0000 (22:02 +0000)]
Add additional projects

22 years agoReplace existing SLAP_MR_ matching flags with:
Kurt Zeilenga [Tue, 27 Nov 2001 21:59:56 +0000 (21:59 +0000)]
Replace existing SLAP_MR_ matching flags with:
SLAP_MR_ASSERTION_SYNTAX_MATCH
SLAP_MR_VALUE_SYNTAX_MATCH
SLAP_MR_VALUE_SYNTAX_CONVERTED_MATCH,
add supporting evaluation macros, and update code as needed.
Misc other code cleanup included.

22 years agoSet the id2entry database pagesize to BDB_ID2ENTRY_PAGESIZE to avoid
Howard Chu [Tue, 27 Nov 2001 12:36:52 +0000 (12:36 +0000)]
Set the id2entry database pagesize to BDB_ID2ENTRY_PAGESIZE to avoid
overflow/fragmentation. (This is now 16K vs default 4K.) It turns out
that the entries' on-disk format is quite space-inefficient, storing
4 bytes per pointer or integer when typically >50% of those bytes are
zero. Oh well. It's about a 2:1 space increase over ldbm now, vs 4:1
before when all the entries were overflowing the 4K pages.

22 years agoEliminated nextid database. id2entry database is now maintained in numerical
Howard Chu [Tue, 27 Nov 2001 10:15:23 +0000 (10:15 +0000)]
Eliminated nextid database. id2entry database is now maintained in numerical
order, so the lastid is always the same as the last entry's ID. This is
an incompatible db file change.

22 years agoFix segv in slapcat. Tool must use be_entry_return to free entries
Howard Chu [Tue, 27 Nov 2001 09:34:53 +0000 (09:34 +0000)]
Fix segv in slapcat. Tool must use be_entry_return to free entries
returned from the backend.

22 years agoAdd #define SLAP_BDB_ALLOW_DBNOTXN to control dbnotxn keyword
Howard Chu [Tue, 27 Nov 2001 04:35:58 +0000 (04:35 +0000)]
Add #define SLAP_BDB_ALLOW_DBNOTXN to control dbnotxn keyword

22 years agoRevert 1.11, the extra clause breaks test009-referral for back-bdb.
Howard Chu [Tue, 27 Nov 2001 04:05:06 +0000 (04:05 +0000)]
Revert 1.11, the extra clause breaks test009-referral for back-bdb.

22 years agoMisc code cleanup
Kurt Zeilenga [Tue, 27 Nov 2001 03:41:03 +0000 (03:41 +0000)]
Misc code cleanup

22 years agoAdded "dbnotxn" config keyword. If present, back-bdb uses DB_INIT_CDB
Howard Chu [Tue, 27 Nov 2001 02:35:20 +0000 (02:35 +0000)]
Added "dbnotxn" config keyword. If present, back-bdb uses DB_INIT_CDB
(Concurrent Data Store mode) instead of DB_INIT_TXN. Faster, but tends
to impede writers.

22 years agoFixed exit code processing. passwd.c never committed its password change
Howard Chu [Tue, 27 Nov 2001 01:09:19 +0000 (01:09 +0000)]
Fixed exit code processing. passwd.c never committed its password change
tranasaction.

22 years agoSome tweaks to cut down on IDL stack usage. idl_intersection and idl_union
Howard Chu [Mon, 26 Nov 2001 19:32:39 +0000 (19:32 +0000)]
Some tweaks to cut down on IDL stack usage. idl_intersection and idl_union
now take only two arguments instead of 3, overwriting the result onto the
first argument. (glibc2.0.7 defaults to a 2MB stack per thread; 3 IDLs at
1.5MB plus various other runtime overhead is enough to trash the stack.)
Also pass in a tmp IDL from search_candidates instead of allocating it in
each candiate function.

22 years agoMore indexing fixes. Now passes tests 0-7, 10, and 11.
Howard Chu [Sat, 24 Nov 2001 12:41:54 +0000 (12:41 +0000)]
More indexing fixes. Now passes tests 0-7, 10, and 11.

22 years agoFixed exit condition code checks and log msg, was returning fail on success.
Howard Chu [Sat, 24 Nov 2001 12:28:52 +0000 (12:28 +0000)]
Fixed exit condition code checks and log msg, was returning fail on success.

22 years agoRemoved unused "range" argument from indexing functions. Fixed more
Howard Chu [Sat, 24 Nov 2001 03:46:02 +0000 (03:46 +0000)]
Removed unused "range" argument from indexing functions. Fixed more
bugs in indexing. Uncommented #define to turn on indexing in back-bdb.h.
It looks like it's working.

22 years agoFixed initialization bug.
Howard Chu [Sat, 24 Nov 2001 03:44:28 +0000 (03:44 +0000)]
Fixed initialization bug.

22 years agoFix initialization bugs
Howard Chu [Sat, 24 Nov 2001 03:43:52 +0000 (03:43 +0000)]
Fix initialization bugs

22 years agoFix typo that prevented rootdn logins.
Howard Chu [Sat, 24 Nov 2001 02:40:59 +0000 (02:40 +0000)]
Fix typo that prevented rootdn logins.

22 years agoAllow size and time limits in slapd.conf for anonymous bound search operations
Mark Adamson [Wed, 21 Nov 2001 20:28:15 +0000 (20:28 +0000)]
Allow size and time limits in slapd.conf for anonymous bound search operations

22 years agominor cleanup
Pierangelo Masarati [Sat, 17 Nov 2001 16:18:07 +0000 (16:18 +0000)]
minor cleanup

22 years agominor cleanup
Pierangelo Masarati [Sat, 17 Nov 2001 14:39:10 +0000 (14:39 +0000)]
minor cleanup

22 years agominor cleanup
Pierangelo Masarati [Sat, 17 Nov 2001 14:24:27 +0000 (14:24 +0000)]
minor cleanup

22 years agofix misinitialized UNDEFINED attribute type; reordered members of AttributeType becau...
Pierangelo Masarati [Sat, 17 Nov 2001 14:09:38 +0000 (14:09 +0000)]
fix misinitialized UNDEFINED attribute type; reordered members of AttributeType because I don't know a portable way to statically initialize a mutex :)

22 years agoadd const
Pierangelo Masarati [Sat, 17 Nov 2001 09:21:22 +0000 (09:21 +0000)]
add const

22 years agoequality_candidates: s/BDB_IDL_RANGE_CPY/BDB_IDL_CPY/
Howard Chu [Sat, 17 Nov 2001 04:51:08 +0000 (04:51 +0000)]
equality_candidates: s/BDB_IDL_RANGE_CPY/BDB_IDL_CPY/

22 years agoFirst pass at indexing cleanup. Both filterindex.c and search.c now
Howard Chu [Sat, 17 Nov 2001 04:41:47 +0000 (04:41 +0000)]
First pass at indexing cleanup. Both filterindex.c and search.c now
compile cleanly when BDB_FILTER_INDICES is defined, but I have not
yet seen whether any of it actually works. In particular, I don't
understand the "range" argument to the candidate functions...

22 years agoainfo_free no longer needed
Howard Chu [Sat, 17 Nov 2001 00:46:00 +0000 (00:46 +0000)]
ainfo_free no longer needed

22 years agobitString fixes from Julius Enarusai (ITS#1441)
Kurt Zeilenga [Fri, 16 Nov 2001 18:10:37 +0000 (18:10 +0000)]
bitString fixes from Julius Enarusai (ITS#1441)

22 years agomoved the empty dn static entry into a global const object
Pierangelo Masarati [Fri, 16 Nov 2001 17:05:32 +0000 (17:05 +0000)]
moved the empty dn static entry into a global const object

22 years agoupdate dn can add/modrdn/delete entries rooted at '' (according to ACLs)
Pierangelo Masarati [Fri, 16 Nov 2001 15:06:18 +0000 (15:06 +0000)]
update dn can add/modrdn/delete entries rooted at '' (according to ACLs)

22 years agocheck children access for old and new parent when = ''
Pierangelo Masarati [Fri, 16 Nov 2001 15:00:03 +0000 (15:00 +0000)]
check children access for old and new parent when = ''

22 years agoupdatedn can add '' rooted entries (according to ACLs)
Pierangelo Masarati [Fri, 16 Nov 2001 14:08:17 +0000 (14:08 +0000)]
updatedn can add '' rooted entries (according to ACLs)

22 years agocheck children access to newSuperior
Pierangelo Masarati [Fri, 16 Nov 2001 14:04:54 +0000 (14:04 +0000)]
check children access to newSuperior

22 years agonon-root modrdn of entries rooted at '' checks children write permission (completes...
Pierangelo Masarati [Fri, 16 Nov 2001 12:24:22 +0000 (12:24 +0000)]
non-root modrdn of entries rooted at '' checks children write permission (completes previous add/delete fix; needs be ported to back-bdb)

22 years agocheck for update dn
Pierangelo Masarati [Fri, 16 Nov 2001 11:47:15 +0000 (11:47 +0000)]
check for update dn

22 years agoChanged AttributeType.sat_cname from char * to struct berval.
Howard Chu [Fri, 16 Nov 2001 08:18:58 +0000 (08:18 +0000)]
Changed AttributeType.sat_cname from char * to struct berval.
Forced SLAP_USE_AD code, removed ifdefs of old code. filterindex.c is
still badly broken when BDB_FILTER_INDICES is defined, working on that...

22 years agoChanged AttributeType.sat_cname from char * to struct berval.
Howard Chu [Fri, 16 Nov 2001 07:45:37 +0000 (07:45 +0000)]
Changed AttributeType.sat_cname from char * to struct berval.
(will fix up back-bdb next.)

22 years agoChanged global ad_mutex into per-attributeType mutex. Added
Howard Chu [Fri, 16 Nov 2001 07:39:14 +0000 (07:39 +0000)]
Changed global ad_mutex into per-attributeType mutex. Added
ad_find_lang() to search an AttributeType for a given language variant.
(Will be used in back-bdb/back-ldbm index code...)

22 years agoFixed some memory allocation/freeing bugs
Ralf Haferkamp [Wed, 14 Nov 2001 17:33:54 +0000 (17:33 +0000)]
Fixed some memory allocation/freeing bugs

22 years agohack to make '' base work; please check side-effects
Pierangelo Masarati [Wed, 14 Nov 2001 17:27:24 +0000 (17:27 +0000)]
hack to make '' base work; please check side-effects

22 years agofix a couple of misformats
Pierangelo Masarati [Wed, 14 Nov 2001 16:17:30 +0000 (16:17 +0000)]
fix a couple of misformats

22 years agonon-root add/delete of entries rooted at '' checks children write permission (forward...
Pierangelo Masarati [Wed, 14 Nov 2001 16:09:33 +0000 (16:09 +0000)]
non-root add/delete of entries rooted at '' checks children write permission (forward port from back-ldbm)

22 years agonon-root add/delete of entries rooted at '' checks children write permission
Pierangelo Masarati [Wed, 14 Nov 2001 16:08:59 +0000 (16:08 +0000)]
non-root add/delete of entries rooted at '' checks children write permission

22 years agoRemove slap_get_time optimization.
Kurt Zeilenga [Tue, 13 Nov 2001 20:31:00 +0000 (20:31 +0000)]
Remove slap_get_time optimization.
timelimit must be checked on first entry.

22 years agoPort ITS#1430 changes from ldbm
Kurt Zeilenga [Tue, 13 Nov 2001 19:45:47 +0000 (19:45 +0000)]
Port ITS#1430 changes from ldbm

22 years agorm currenttime_mutex.
Kurt Zeilenga [Tue, 13 Nov 2001 18:16:07 +0000 (18:16 +0000)]
rm currenttime_mutex.
trival other cleanup.

22 years agooptimize number of calls to slap_get_time()
Mark Adamson [Tue, 13 Nov 2001 01:38:30 +0000 (01:38 +0000)]
optimize number of calls to slap_get_time()

22 years agoFix - put group cache search after backend has been selected
Howard Chu [Mon, 12 Nov 2001 21:39:55 +0000 (21:39 +0000)]
Fix - put group cache search after backend has been selected

22 years agoAdded bdb_attribute and bdb_group ACL support routines
Howard Chu [Mon, 12 Nov 2001 20:52:25 +0000 (20:52 +0000)]
Added bdb_attribute and bdb_group ACL support routines

22 years agoFix missing case
Howard Chu [Mon, 12 Nov 2001 20:28:23 +0000 (20:28 +0000)]
Fix missing case

22 years agoAdded backend_group result caching.
Howard Chu [Mon, 12 Nov 2001 19:37:48 +0000 (19:37 +0000)]
Added backend_group result caching.

22 years agoAdded backend_group result caching.
Howard Chu [Mon, 12 Nov 2001 19:25:41 +0000 (19:25 +0000)]
Added backend_group result caching.

22 years agoFixes first part of ITS#1430
Pierangelo Masarati [Mon, 12 Nov 2001 17:32:52 +0000 (17:32 +0000)]
Fixes first part of ITS#1430

22 years agoFixes second part of ITS#1430
Pierangelo Masarati [Mon, 12 Nov 2001 17:27:01 +0000 (17:27 +0000)]
Fixes second part of ITS#1430

22 years agoFixes ITS#1433
Pierangelo Masarati [Mon, 12 Nov 2001 17:12:43 +0000 (17:12 +0000)]
Fixes ITS#1433

22 years agotrims space after comma in dn.regex acls (prelude to normalization)
Pierangelo Masarati [Mon, 12 Nov 2001 11:29:40 +0000 (11:29 +0000)]
trims space after comma in dn.regex acls (prelude to normalization)

22 years agofix bug in previous commit
Pierangelo Masarati [Mon, 12 Nov 2001 08:47:09 +0000 (08:47 +0000)]
fix bug in previous commit

22 years agostruct berval * instead of char * in ldap_ava struct; minor cleanup
Pierangelo Masarati [Mon, 12 Nov 2001 08:10:12 +0000 (08:10 +0000)]
struct berval * instead of char * in ldap_ava struct; minor cleanup

22 years agoalready have the strlen of the attrname in the berval->bv_len
Mark Adamson [Mon, 12 Nov 2001 03:15:40 +0000 (03:15 +0000)]
already have the strlen of the attrname in the berval->bv_len

22 years agoFixes memory leaks in do_compare()
Stig Venaas [Sat, 10 Nov 2001 23:34:03 +0000 (23:34 +0000)]
Fixes memory leaks in do_compare()

22 years agotypo in declaration of function.
Mark Adamson [Fri, 9 Nov 2001 19:22:03 +0000 (19:22 +0000)]
typo in declaration of function.

22 years agouse berval's instead of strings with UTF8normalize()
Mark Adamson [Fri, 9 Nov 2001 19:01:23 +0000 (19:01 +0000)]
use berval's instead of strings with UTF8normalize()

22 years agoCompile error if Cyrus Sasl is not present. Put ifdefs in
Steve Sonntag [Thu, 8 Nov 2001 20:08:36 +0000 (20:08 +0000)]
Compile error if Cyrus Sasl is not present.  Put ifdefs in
unbind call around free of sasl data.

22 years agoRemove lint
Kurt Zeilenga [Wed, 7 Nov 2001 01:24:32 +0000 (01:24 +0000)]
Remove lint

22 years agoAdded schema_destroy() et al to free schema structures on shutdown
Howard Chu [Wed, 7 Nov 2001 01:03:49 +0000 (01:03 +0000)]
Added schema_destroy() et al to free schema structures on shutdown

22 years agoFixed more memory leaks
Stig Venaas [Tue, 6 Nov 2001 22:36:28 +0000 (22:36 +0000)]
Fixed more memory leaks

22 years agoAdded ldap_pvt_tls_destroy() to cleanup TLS library on shutdown
Howard Chu [Tue, 6 Nov 2001 20:52:59 +0000 (20:52 +0000)]
Added ldap_pvt_tls_destroy() to cleanup TLS library on shutdown

22 years agobervals alloc'd by UTF8SubstringsassertionNormalize() must be ber_bvfree'd
Mark Adamson [Tue, 6 Nov 2001 19:07:15 +0000 (19:07 +0000)]
bervals alloc'd by UTF8SubstringsassertionNormalize() must be ber_bvfree'd

22 years agoPlug leaks (ITS#1116)
Kurt Zeilenga [Tue, 6 Nov 2001 17:05:51 +0000 (17:05 +0000)]
Plug leaks (ITS#1116)
Patch provided by John Morrissey <jwm@horde.net>

22 years agofix various memory leaks
Mark Adamson [Mon, 5 Nov 2001 23:14:42 +0000 (23:14 +0000)]
fix various memory leaks

22 years agoAdd dnsReferral to TO DO list
Kurt Zeilenga [Mon, 5 Nov 2001 17:57:09 +0000 (17:57 +0000)]
Add dnsReferral to TO DO list

22 years agoDon't use indices to support not [!] filters.
Kurt Zeilenga [Mon, 5 Nov 2001 17:25:44 +0000 (17:25 +0000)]
Don't use indices to support not [!] filters.
Use pres indices to support LE/GE [<=,>=] filters.

22 years agocleanup
Pierangelo Masarati [Mon, 5 Nov 2001 08:52:01 +0000 (08:52 +0000)]
cleanup

22 years agosame typo in more data files (was it intended ? :)
Pierangelo Masarati [Mon, 5 Nov 2001 08:51:29 +0000 (08:51 +0000)]
same typo in more data files (was it intended ? :)

22 years agotypo in data (already fixed in test-ordered.ldif)
Pierangelo Masarati [Mon, 5 Nov 2001 08:28:26 +0000 (08:28 +0000)]
typo in data (already fixed in test-ordered.ldif)

22 years agoFix for dbnosync - DB_TXN_NOSYNC is not a valid flag for dbenv_open,
Howard Chu [Mon, 5 Nov 2001 07:01:12 +0000 (07:01 +0000)]
Fix for dbnosync - DB_TXN_NOSYNC is not a valid flag for dbenv_open,
must be set later using dbenv_set_flags.

22 years agoPorted referral patches from back-ldbm. I believe search.c still needs
Howard Chu [Mon, 5 Nov 2001 06:24:11 +0000 (06:24 +0000)]
Ported referral patches from back-ldbm. I believe search.c still needs
the patch from ITS#1289 to be ported here.

22 years agoFix typo in last commit
Kurt Zeilenga [Sun, 4 Nov 2001 17:50:16 +0000 (17:50 +0000)]
Fix typo in last commit

22 years agoFix realloc bug (ITS#1410)
Kurt Zeilenga [Sat, 3 Nov 2001 22:07:41 +0000 (22:07 +0000)]
Fix realloc bug (ITS#1410)

22 years agotelex number should allow $
Kurt Zeilenga [Sat, 3 Nov 2001 22:03:20 +0000 (22:03 +0000)]
telex number should allow $

22 years agoFix uninitialized pointer bug.
Kurt Zeilenga [Sat, 3 Nov 2001 22:02:57 +0000 (22:02 +0000)]
Fix uninitialized pointer bug.

22 years agoSome minor adjustments
Kurt Zeilenga [Sat, 3 Nov 2001 21:53:44 +0000 (21:53 +0000)]
Some minor adjustments

22 years agoRemove derived file
Kurt Zeilenga [Sat, 3 Nov 2001 19:07:05 +0000 (19:07 +0000)]
Remove derived file

22 years agoaccess control man page
Pierangelo Masarati [Sat, 3 Nov 2001 18:03:10 +0000 (18:03 +0000)]
access control man page

22 years agomore meaningful subtree replication test
Pierangelo Masarati [Sat, 3 Nov 2001 16:59:06 +0000 (16:59 +0000)]
more meaningful subtree replication test

22 years agoSubtree replication test
Pierangelo Masarati [Fri, 2 Nov 2001 15:39:43 +0000 (15:39 +0000)]
Subtree replication test