]> git.sur5r.net Git - openldap/log
openldap
22 years agoAdd comments
Kurt Zeilenga [Wed, 5 Dec 2001 21:07:57 +0000 (21:07 +0000)]
Add comments

22 years agoanother step towards schema aware normalization: ava sorting in rdns; now by defining...
Pierangelo Masarati [Wed, 5 Dec 2001 19:26:30 +0000 (19:26 +0000)]
another step towards schema aware normalization: ava sorting in rdns; now by defining USE_LDAP_DN_PARSING both the new dn parsing and the server side normalization is used. There might be, every now and then, a flaw mostly due to naive normalization of pseudo-dn (thinking about some acl/regex stuff and so)

22 years agoReserve -E/-e for extensions, syntax yet to be defined.
Kurt Zeilenga [Wed, 5 Dec 2001 17:56:34 +0000 (17:56 +0000)]
Reserve -E/-e for extensions, syntax yet to be defined.

22 years agorev-05
Kurt Zeilenga [Wed, 5 Dec 2001 17:50:37 +0000 (17:50 +0000)]
rev-05

22 years agoMinor portablility change
Kurt Zeilenga [Wed, 5 Dec 2001 16:55:28 +0000 (16:55 +0000)]
Minor portablility change

22 years agoI should finish my morning coke before making my first commit of the day.
Kurt Zeilenga [Wed, 5 Dec 2001 16:41:45 +0000 (16:41 +0000)]
I should finish my morning coke before making my first commit of the day.
Fixes errors in prior commits.

22 years agoa gross attempt to implement a schema-aware normalization
Pierangelo Masarati [Wed, 5 Dec 2001 16:34:51 +0000 (16:34 +0000)]
a gross attempt to implement a schema-aware normalization

22 years ago(undefined=*) should precompute to False
Kurt Zeilenga [Wed, 5 Dec 2001 16:31:19 +0000 (16:31 +0000)]
(undefined=*) should precompute to False

22 years agobetter strip of diff marks
Pierangelo Masarati [Wed, 5 Dec 2001 09:35:31 +0000 (09:35 +0000)]
better strip of diff marks

22 years agomy system does not have the removed headers; however it compiles by adding sys/time...
Pierangelo Masarati [Wed, 5 Dec 2001 08:51:49 +0000 (08:51 +0000)]
my system does not have the removed headers; however it compiles by adding sys/time.h, is it fine?

22 years agomy compiler complains about this; does my fix comply with the intended behavior?
Pierangelo Masarati [Wed, 5 Dec 2001 08:49:52 +0000 (08:49 +0000)]
my compiler complains about this; does my fix comply with the intended behavior?

22 years agominor cleanup
Pierangelo Masarati [Wed, 5 Dec 2001 08:48:53 +0000 (08:48 +0000)]
minor cleanup

22 years agoAdd experimental UUID/CSN support (needed for LCUP).
Kurt Zeilenga [Wed, 5 Dec 2001 07:25:25 +0000 (07:25 +0000)]
Add experimental UUID/CSN support (needed for LCUP).

22 years agoAdd CSN routine.
Kurt Zeilenga [Wed, 5 Dec 2001 06:30:58 +0000 (06:30 +0000)]
Add CSN routine.

22 years agoSet multicast bit
Kurt Zeilenga [Wed, 5 Dec 2001 06:09:22 +0000 (06:09 +0000)]
Set multicast bit

22 years agoSome minor cleanup...
Kurt Zeilenga [Wed, 5 Dec 2001 06:00:57 +0000 (06:00 +0000)]
Some minor cleanup...

22 years agoAdd UUID code from John E. Schimmel
Kurt Zeilenga [Wed, 5 Dec 2001 05:39:34 +0000 (05:39 +0000)]
Add UUID code from John E. Schimmel

22 years agoAdd undefined present filter bug fix
Kurt Zeilenga [Wed, 5 Dec 2001 03:21:39 +0000 (03:21 +0000)]
Add undefined present filter bug fix

22 years agoEnhance error messages from Walter.Mueller@uibk.ac.at
Kurt Zeilenga [Wed, 5 Dec 2001 03:13:50 +0000 (03:13 +0000)]
Enhance error messages from Walter.Mueller@uibk.ac.at

22 years agotool_reindex now regenerates the dn2id index as well as the others.
Howard Chu [Wed, 5 Dec 2001 01:36:18 +0000 (01:36 +0000)]
tool_reindex now regenerates the dn2id index as well as the others.

22 years agoFix replacing of all values with an empty value.
Kurt Zeilenga [Wed, 5 Dec 2001 01:16:12 +0000 (01:16 +0000)]
Fix replacing of all values with an empty value.

22 years agoFixup bdb_entry_release now that entry_decode uses two memory blocks
Howard Chu [Wed, 5 Dec 2001 00:24:13 +0000 (00:24 +0000)]
Fixup bdb_entry_release now that entry_decode uses two memory blocks
instead of just one.

22 years agozap friendly
Kurt Zeilenga [Wed, 5 Dec 2001 00:07:04 +0000 (00:07 +0000)]
zap friendly

22 years agoRework indexing code, removing "autolang" and making
Kurt Zeilenga [Wed, 5 Dec 2001 00:06:03 +0000 (00:06 +0000)]
Rework indexing code, removing "autolang" and making
"subtypes" and "lang" default behavior.

22 years agodnMatch should not be local to file
Kurt Zeilenga [Tue, 4 Dec 2001 23:42:10 +0000 (23:42 +0000)]
dnMatch should not be local to file

22 years agoof course we don't need debug stuff any more ... :)
Pierangelo Masarati [Tue, 4 Dec 2001 20:27:26 +0000 (20:27 +0000)]
of course we don't need debug stuff any more ... :)

22 years agoreimplement dn_validate/normalize/(match) using the ldap_str2dn/dn2str stuff; need...
Pierangelo Masarati [Tue, 4 Dec 2001 20:22:26 +0000 (20:22 +0000)]
reimplement dn_validate/normalize/(match) using the ldap_str2dn/dn2str stuff; need to #define USE_LDAP_DN_PARSING

22 years agoillegal extra space in DN ... (right?)
Pierangelo Masarati [Tue, 4 Dec 2001 20:12:49 +0000 (20:12 +0000)]
illegal extra space in DN ... (right?)

22 years agoClean up some misplaced 'extern' declarations (should be headers)
Kurt Zeilenga [Tue, 4 Dec 2001 19:57:09 +0000 (19:57 +0000)]
Clean up some misplaced 'extern' declarations (should be headers)

22 years agoSmall fix to gar detection
Kurt Zeilenga [Tue, 4 Dec 2001 18:21:43 +0000 (18:21 +0000)]
Small fix to gar detection

22 years agosmall adjustment
Pierangelo Masarati [Tue, 4 Dec 2001 17:13:25 +0000 (17:13 +0000)]
small adjustment

22 years agoupdate limits stuff
Pierangelo Masarati [Tue, 4 Dec 2001 17:10:17 +0000 (17:10 +0000)]
update limits stuff

22 years agoRemove lint
Kurt Zeilenga [Tue, 4 Dec 2001 06:14:16 +0000 (06:14 +0000)]
Remove lint

22 years agoSlight memfree cleanup
Kurt Zeilenga [Tue, 4 Dec 2001 06:10:10 +0000 (06:10 +0000)]
Slight memfree cleanup

22 years agoDon't maintain a DN_SUBTREE index for the backend suffix.
Howard Chu [Tue, 4 Dec 2001 00:10:47 +0000 (00:10 +0000)]
Don't maintain a DN_SUBTREE index for the backend suffix.

22 years agoReally fix the fix to the past commit
Kurt Zeilenga [Mon, 3 Dec 2001 20:16:00 +0000 (20:16 +0000)]
Really fix the fix to the past commit

22 years agoFix previous commit
Kurt Zeilenga [Mon, 3 Dec 2001 20:14:44 +0000 (20:14 +0000)]
Fix previous commit

22 years agoAdd additional sanity check
Kurt Zeilenga [Mon, 3 Dec 2001 20:05:46 +0000 (20:05 +0000)]
Add additional sanity check

22 years agoFriendly name removal
Kurt Zeilenga [Mon, 3 Dec 2001 20:04:31 +0000 (20:04 +0000)]
Friendly name removal

22 years agoMinor cleanup
Kurt Zeilenga [Mon, 3 Dec 2001 20:04:08 +0000 (20:04 +0000)]
Minor cleanup

22 years agoDon't maintain a DN_SUBTREE index for the backend suffix, just return
Howard Chu [Mon, 3 Dec 2001 14:04:06 +0000 (14:04 +0000)]
Don't maintain a DN_SUBTREE index for the backend suffix, just return
BDB_IDL_ALL. This has a huge impact on I/O and txn logs.

22 years agoRewrote entry_encode/entry_decode again, uses 50% less disk space.
Howard Chu [Mon, 3 Dec 2001 14:00:19 +0000 (14:00 +0000)]
Rewrote entry_encode/entry_decode again, uses 50% less disk space.

22 years agosmall improvements and fixes; now honors ';' as rdn separator in LDAPv2 mode
Pierangelo Masarati [Mon, 3 Dec 2001 07:55:25 +0000 (07:55 +0000)]
small improvements and fixes; now honors ';' as rdn separator in LDAPv2 mode

23 years agoAdd more DESC fields and misc cleanup
Kurt Zeilenga [Sun, 2 Dec 2001 04:50:03 +0000 (04:50 +0000)]
Add more DESC fields and misc cleanup

23 years agoMake sure experimental syntaxes are hidden
Kurt Zeilenga [Sun, 2 Dec 2001 04:48:06 +0000 (04:48 +0000)]
Make sure experimental syntaxes are hidden

23 years agoFinish friendly_name() removal
Kurt Zeilenga [Sun, 2 Dec 2001 01:07:50 +0000 (01:07 +0000)]
Finish friendly_name() removal

23 years agoMisc DESC updates
Kurt Zeilenga [Sat, 1 Dec 2001 18:13:34 +0000 (18:13 +0000)]
Misc DESC updates

23 years agoparanoid check for escaped dn separators when naively checking for rdn boundary
Pierangelo Masarati [Sat, 1 Dec 2001 16:28:21 +0000 (16:28 +0000)]
paranoid check for escaped dn separators when naively checking for rdn boundary

23 years agoadded pattern="anonymous","users","dn.{base|one|subtree|children}" to limit enforcement
Pierangelo Masarati [Sat, 1 Dec 2001 14:17:14 +0000 (14:17 +0000)]
added pattern="anonymous","users","dn.{base|one|subtree|children}" to limit enforcement

23 years agoDon't bother with friendly name
Kurt Zeilenga [Sat, 1 Dec 2001 03:40:19 +0000 (03:40 +0000)]
Don't bother with friendly name

23 years agoAdd #include <openssl/safestack.h> to fix ITS#1412
Howard Chu [Fri, 30 Nov 2001 02:37:39 +0000 (02:37 +0000)]
Add #include <openssl/safestack.h> to fix ITS#1412

23 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.

23 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.

23 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.

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

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

23 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.

23 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

23 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>

23 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

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

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

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

23 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.

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

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

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

23 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.

23 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.

23 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.

23 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.

23 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

23 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.

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

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

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

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

23 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.

23 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

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

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

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

23 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 :)

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

23 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/

23 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...

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

23 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)

23 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

23 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)

23 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 = ''

23 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)

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

23 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)

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