]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Sat, 8 Dec 2001 01:57:25 +0000 (01:57 +0000)]
quick fix BSD builds
Howard Chu [Sat, 8 Dec 2001 01:16:10 +0000 (01:16 +0000)]
Fix typos in previous commit
Kurt Zeilenga [Sat, 8 Dec 2001 00:36:11 +0000 (00:36 +0000)]
add 'objectIdentifier' to openldap.schema ONLY
(other schema should be provided as defined in its specification).
and trim DESC to one line
Kurt Zeilenga [Fri, 7 Dec 2001 22:41:43 +0000 (22:41 +0000)]
Port reference scope fix from back-ldbm
Kurt Zeilenga [Fri, 7 Dec 2001 22:28:46 +0000 (22:28 +0000)]
Fix reference scope.
Kurt Zeilenga [Fri, 7 Dec 2001 17:25:34 +0000 (17:25 +0000)]
ITS#1413 suggested fix
(I think I fixed this by other means, but this does no harm)
Howard Chu [Fri, 7 Dec 2001 12:38:25 +0000 (12:38 +0000)]
Some fixes for BDB_IDL_MULTI. Experimental back-hdb code.
Howard Chu [Fri, 7 Dec 2001 07:07:55 +0000 (07:07 +0000)]
Re-introduce BDB_ID2ENTRY_PAGESIZE. Even if the index databases can get
by on 4K pages, the id2entry database still needs more (16K).
Howard Chu [Fri, 7 Dec 2001 06:48:38 +0000 (06:48 +0000)]
Minor fixes for BDB_IDL_MULTI
Howard Chu [Fri, 7 Dec 2001 06:48:12 +0000 (06:48 +0000)]
Missed a spot where root DN_SUBTREE index was still getting written.
Howard Chu [Fri, 7 Dec 2001 05:05:00 +0000 (05:05 +0000)]
Bare minimum changes to support BDB 4.0
Kurt Zeilenga [Fri, 7 Dec 2001 04:40:07 +0000 (04:40 +0000)]
autoconf for hyc
Howard Chu [Fri, 7 Dec 2001 04:03:25 +0000 (04:03 +0000)]
NT updates from jon@symas.com.
Howard Chu [Fri, 7 Dec 2001 03:56:16 +0000 (03:56 +0000)]
Minor fix to allow build with BDB 4
Howard Chu [Fri, 7 Dec 2001 03:19:29 +0000 (03:19 +0000)]
Minor fixes from jon@symas.com
Howard Chu [Fri, 7 Dec 2001 03:18:32 +0000 (03:18 +0000)]
Fix from jon@symas.com for misdeclared lib handle
Howard Chu [Fri, 7 Dec 2001 02:26:33 +0000 (02:26 +0000)]
Avoid unnecessary strcmp's
Howard Chu [Fri, 7 Dec 2001 02:22:07 +0000 (02:22 +0000)]
More from Jon Leichter @ Symas - platform-independent TMPDIR usage
Howard Chu [Fri, 7 Dec 2001 01:54:53 +0000 (01:54 +0000)]
Squash some whitespace in a DN. (trivial)
Howard Chu [Fri, 7 Dec 2001 01:46:26 +0000 (01:46 +0000)]
From jon@symas.com - patches for consistent use of directory separators
in pathnames.
Howard Chu [Fri, 7 Dec 2001 01:40:08 +0000 (01:40 +0000)]
When using BDB_IDL_MULTI, there are no longer any issues with storing
large IDLs. Concurrency is improved by using as small a page size as
possible. So, set the pagesize back to the default 4096 in this case.
Kurt Zeilenga [Thu, 6 Dec 2001 21:19:10 +0000 (21:19 +0000)]
ITS#1482 patch from Michael.Gerdts@usa.alcatel.co
MSVC cannot build clients/ud because the symbol mkstemp
is not found. Add tmpfile() support.
Kurt Zeilenga [Thu, 6 Dec 2001 16:11:04 +0000 (16:11 +0000)]
Add copyright notice, remove _KERNEL stuff.
Kurt Zeilenga [Thu, 6 Dec 2001 15:55:34 +0000 (15:55 +0000)]
Add BSD Queue (and list) management
Howard Chu [Thu, 6 Dec 2001 14:15:47 +0000 (14:15 +0000)]
Fix for BDB_IDL_MULTI to work.
Howard Chu [Thu, 6 Dec 2001 13:21:36 +0000 (13:21 +0000)]
One more seeAlso DN to squash.
Howard Chu [Thu, 6 Dec 2001 13:20:18 +0000 (13:20 +0000)]
Experimental index management. Uncomment BDB_IDL_MULTI in back-bdb.h
to activate. Needs to check limits in bdb_idl_insert_key, will get to
that later.
Howard Chu [Thu, 6 Dec 2001 12:28:49 +0000 (12:28 +0000)]
Fix so previous change to slapcat works.
Pierangelo Masarati [Thu, 6 Dec 2001 11:50:17 +0000 (11:50 +0000)]
now dnValidate loops thru each value; added private member to LDAPAVA to hold the attribute description
Pierangelo Masarati [Thu, 6 Dec 2001 10:01:25 +0000 (10:01 +0000)]
liberally accept many LDAPv2/LDAPv3 stuff in DN (quoted parts, ';' as rdn separator and so); enforce exact case match of normalized dn in dnMatch (let's see what happens ...); fix a ldapava_free_rdn bug
Kurt Zeilenga [Thu, 6 Dec 2001 07:32:53 +0000 (07:32 +0000)]
pretty DNs
Howard Chu [Thu, 6 Dec 2001 07:18:18 +0000 (07:18 +0000)]
Strip whitespace from DN-valued attributes.
Howard Chu [Thu, 6 Dec 2001 07:15:48 +0000 (07:15 +0000)]
Strip whitespace from DN-valued attributes
Howard Chu [Thu, 6 Dec 2001 06:42:56 +0000 (06:42 +0000)]
Turn off syslog on slapd
Howard Chu [Thu, 6 Dec 2001 06:40:09 +0000 (06:40 +0000)]
Stripped whitespace between entry DN components.
Kurt Zeilenga [Thu, 6 Dec 2001 04:46:10 +0000 (04:46 +0000)]
Don't extern gdbm_errno. Defined in <gdbm.h> (GDBM 1.8)
Howard Chu [Thu, 6 Dec 2001 03:29:23 +0000 (03:29 +0000)]
Fix previous commit
Howard Chu [Thu, 6 Dec 2001 03:26:37 +0000 (03:26 +0000)]
Minor rearrangement, give pdn to dn2id_add to avoid getting it twice.
Kurt Zeilenga [Thu, 6 Dec 2001 03:24:31 +0000 (03:24 +0000)]
Rework dnNormalize/dnPretty to share LDAP_rewrite
Add flag to matching rules to indicate if DN folding is needed.
Don't specify dnPretty as pretty function for DN attribute types as
this works too well (it breaks tests).
Howard Chu [Thu, 6 Dec 2001 03:24:09 +0000 (03:24 +0000)]
Fix, index databases were not being closed on shutdown.
Kurt Zeilenga [Thu, 6 Dec 2001 01:02:11 +0000 (01:02 +0000)]
Allow an object class to be provided in an attribute description list,
treated as a request for all required and allowed attributes of the class.
This allows:
ldapsearch (objectClass=*) inetOrgPerson
(requests return of all attributes of inetOrgPerson)
and
ldapsearch (objectClass=*) extensibleObject
(requests return of all attributes, e.g., "+" "*")
Kurt Zeilenga [Wed, 5 Dec 2001 23:27:49 +0000 (23:27 +0000)]
Misc cleanup
Kurt Zeilenga [Wed, 5 Dec 2001 23:24:51 +0000 (23:24 +0000)]
Monitor schema should be defined in a separate file.
Kurt Zeilenga [Wed, 5 Dec 2001 23:16:35 +0000 (23:16 +0000)]
Misc I-D updates
Misc schema updates
Kurt Zeilenga [Wed, 5 Dec 2001 21:36:59 +0000 (21:36 +0000)]
Add basic infrastructure for pretty routines
A pretty routine may rewrite the representation of a value but
must not alter the value itself.
Kurt Zeilenga [Wed, 5 Dec 2001 21:07:57 +0000 (21:07 +0000)]
Add comments
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)
Kurt Zeilenga [Wed, 5 Dec 2001 17:56:34 +0000 (17:56 +0000)]
Reserve -E/-e for extensions, syntax yet to be defined.
Kurt Zeilenga [Wed, 5 Dec 2001 17:50:37 +0000 (17:50 +0000)]
rev-05
Kurt Zeilenga [Wed, 5 Dec 2001 16:55:28 +0000 (16:55 +0000)]
Minor portablility change
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.
Pierangelo Masarati [Wed, 5 Dec 2001 16:34:51 +0000 (16:34 +0000)]
a gross attempt to implement a schema-aware normalization
Kurt Zeilenga [Wed, 5 Dec 2001 16:31:19 +0000 (16:31 +0000)]
(undefined=*) should precompute to False
Pierangelo Masarati [Wed, 5 Dec 2001 09:35:31 +0000 (09:35 +0000)]
better strip of diff marks
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?
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?
Pierangelo Masarati [Wed, 5 Dec 2001 08:48:53 +0000 (08:48 +0000)]
minor cleanup
Kurt Zeilenga [Wed, 5 Dec 2001 07:25:25 +0000 (07:25 +0000)]
Add experimental UUID/CSN support (needed for LCUP).
Kurt Zeilenga [Wed, 5 Dec 2001 06:30:58 +0000 (06:30 +0000)]
Add CSN routine.
Kurt Zeilenga [Wed, 5 Dec 2001 06:09:22 +0000 (06:09 +0000)]
Set multicast bit
Kurt Zeilenga [Wed, 5 Dec 2001 06:00:57 +0000 (06:00 +0000)]
Some minor cleanup...
Kurt Zeilenga [Wed, 5 Dec 2001 05:39:34 +0000 (05:39 +0000)]
Add UUID code from John E. Schimmel
Kurt Zeilenga [Wed, 5 Dec 2001 03:21:39 +0000 (03:21 +0000)]
Add undefined present filter bug fix
Kurt Zeilenga [Wed, 5 Dec 2001 03:13:50 +0000 (03:13 +0000)]
Enhance error messages from Walter.Mueller@uibk.ac.at
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.
Kurt Zeilenga [Wed, 5 Dec 2001 01:16:12 +0000 (01:16 +0000)]
Fix replacing of all values with an empty value.
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.
Kurt Zeilenga [Wed, 5 Dec 2001 00:07:04 +0000 (00:07 +0000)]
zap friendly
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.
Kurt Zeilenga [Tue, 4 Dec 2001 23:42:10 +0000 (23:42 +0000)]
dnMatch should not be local to file
Pierangelo Masarati [Tue, 4 Dec 2001 20:27:26 +0000 (20:27 +0000)]
of course we don't need debug stuff any more ... :)
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
Pierangelo Masarati [Tue, 4 Dec 2001 20:12:49 +0000 (20:12 +0000)]
illegal extra space in DN ... (right?)
Kurt Zeilenga [Tue, 4 Dec 2001 19:57:09 +0000 (19:57 +0000)]
Clean up some misplaced 'extern' declarations (should be headers)
Kurt Zeilenga [Tue, 4 Dec 2001 18:21:43 +0000 (18:21 +0000)]
Small fix to gar detection
Pierangelo Masarati [Tue, 4 Dec 2001 17:13:25 +0000 (17:13 +0000)]
small adjustment
Pierangelo Masarati [Tue, 4 Dec 2001 17:10:17 +0000 (17:10 +0000)]
update limits stuff
Kurt Zeilenga [Tue, 4 Dec 2001 06:14:16 +0000 (06:14 +0000)]
Remove lint
Kurt Zeilenga [Tue, 4 Dec 2001 06:10:10 +0000 (06:10 +0000)]
Slight memfree cleanup
Howard Chu [Tue, 4 Dec 2001 00:10:47 +0000 (00:10 +0000)]
Don't maintain a DN_SUBTREE index for the backend suffix.
Kurt Zeilenga [Mon, 3 Dec 2001 20:16:00 +0000 (20:16 +0000)]
Really fix the fix to the past commit
Kurt Zeilenga [Mon, 3 Dec 2001 20:14:44 +0000 (20:14 +0000)]
Fix previous commit
Kurt Zeilenga [Mon, 3 Dec 2001 20:05:46 +0000 (20:05 +0000)]
Add additional sanity check
Kurt Zeilenga [Mon, 3 Dec 2001 20:04:31 +0000 (20:04 +0000)]
Friendly name removal
Kurt Zeilenga [Mon, 3 Dec 2001 20:04:08 +0000 (20:04 +0000)]
Minor cleanup
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.
Howard Chu [Mon, 3 Dec 2001 14:00:19 +0000 (14:00 +0000)]
Rewrote entry_encode/entry_decode again, uses 50% less disk space.
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
Kurt Zeilenga [Sun, 2 Dec 2001 04:50:03 +0000 (04:50 +0000)]
Add more DESC fields and misc cleanup
Kurt Zeilenga [Sun, 2 Dec 2001 04:48:06 +0000 (04:48 +0000)]
Make sure experimental syntaxes are hidden
Kurt Zeilenga [Sun, 2 Dec 2001 01:07:50 +0000 (01:07 +0000)]
Finish friendly_name() removal
Kurt Zeilenga [Sat, 1 Dec 2001 18:13:34 +0000 (18:13 +0000)]
Misc DESC updates
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
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
Kurt Zeilenga [Sat, 1 Dec 2001 03:40:19 +0000 (03:40 +0000)]
Don't bother with friendly name
Howard Chu [Fri, 30 Nov 2001 02:37:39 +0000 (02:37 +0000)]
Add #include <openssl/safestack.h> to fix ITS#1412
Howard Chu [Fri, 30 Nov 2001 01:21:52 +0000 (01:21 +0000)]
In presence_candidates(), always return a full match for objectClass.
Kurt Zeilenga [Thu, 29 Nov 2001 02:05:20 +0000 (02:05 +0000)]
Clarify acceptability requirements of additional schema items.
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.
Kurt Zeilenga [Wed, 28 Nov 2001 16:49:46 +0000 (16:49 +0000)]
ITS#1429 url search fix