]> git.sur5r.net Git - openldap/log
openldap
22 years agoEliminate unnecessary per-operation dn_normalize(o_ndn); it's already
Howard Chu [Sun, 9 Dec 2001 14:46:29 +0000 (14:46 +0000)]
Eliminate unnecessary per-operation dn_normalize(o_ndn); it's already
done in do_bind() and there's space in the connection structure for c_ndn
already, just copy it.

22 years agoMinor strlen cleanup
Howard Chu [Sun, 9 Dec 2001 13:57:55 +0000 (13:57 +0000)]
Minor strlen cleanup

22 years agoRemove lint
Kurt Zeilenga [Sun, 9 Dec 2001 03:19:23 +0000 (03:19 +0000)]
Remove lint

22 years agoCleaned up search, use dn_issuffixbv
Howard Chu [Sun, 9 Dec 2001 03:09:18 +0000 (03:09 +0000)]
Cleaned up search, use dn_issuffixbv

22 years agoAdded dn_issuffixbv() like dn_issuffix, but with bervals.
Howard Chu [Sun, 9 Dec 2001 03:02:29 +0000 (03:02 +0000)]
Added dn_issuffixbv() like dn_issuffix, but with bervals.

22 years agoAdded ndn to replog args, eliminate unnecessary dn_normalize in replog.
Howard Chu [Sun, 9 Dec 2001 02:57:50 +0000 (02:57 +0000)]
Added ndn to replog args, eliminate unnecessary dn_normalize in replog.

22 years agoAdded ndn to replog args, eliminate unnecessary dn_normalize in replog.
Howard Chu [Sun, 9 Dec 2001 02:47:39 +0000 (02:47 +0000)]
Added ndn to replog args, eliminate unnecessary dn_normalize in replog.

22 years agoAdded referrals to gluestate.
Howard Chu [Sun, 9 Dec 2001 02:46:25 +0000 (02:46 +0000)]
Added referrals to gluestate.

22 years agoMore misc MSVC changes
Kurt Zeilenga [Sun, 9 Dec 2001 02:43:04 +0000 (02:43 +0000)]
More misc MSVC changes

22 years agoRemove lint and misc MSVC updates
Kurt Zeilenga [Sun, 9 Dec 2001 02:34:45 +0000 (02:34 +0000)]
Remove lint and misc MSVC updates

22 years agoDon't include glued databases in namingContexts
Howard Chu [Sun, 9 Dec 2001 02:01:58 +0000 (02:01 +0000)]
Don't include glued databases in namingContexts

22 years agoClean up bdb_entry_release / bdb_entry_return
Howard Chu [Sun, 9 Dec 2001 01:14:32 +0000 (01:14 +0000)]
Clean up bdb_entry_release / bdb_entry_return

22 years agoFix for slapcat
Howard Chu [Sat, 8 Dec 2001 16:42:27 +0000 (16:42 +0000)]
Fix for slapcat

22 years agoAdded new backglue pseudo-backend. Uses callbacks to glue different backends
Howard Chu [Sat, 8 Dec 2001 15:58:47 +0000 (15:58 +0000)]
Added new backglue pseudo-backend. Uses callbacks to glue different backends
together into a single searchable hierarchy.

22 years agoAdded callbacks for send_ldap_response and send_search_result.
Howard Chu [Sat, 8 Dec 2001 15:21:20 +0000 (15:21 +0000)]
Added callbacks for send_ldap_response and send_search_result.

22 years agoFix previous commit...
Howard Chu [Sat, 8 Dec 2001 13:07:01 +0000 (13:07 +0000)]
Fix previous commit...

22 years agoCleanup previous commit
Howard Chu [Sat, 8 Dec 2001 11:15:55 +0000 (11:15 +0000)]
Cleanup previous commit

22 years agoAdded dn_rdnlen. Fixed rdn leak in limits.c.
Howard Chu [Sat, 8 Dec 2001 11:08:26 +0000 (11:08 +0000)]
Added dn_rdnlen. Fixed rdn leak in limits.c.

22 years agoConverted all use of dn_parent to the in-place version. (Fixed a pdn leak
Howard Chu [Sat, 8 Dec 2001 10:37:42 +0000 (10:37 +0000)]
Converted all use of dn_parent to the in-place version. (Fixed a pdn leak
in back-sql along the way.)

22 years agoSwitched to dn_parent1, cleaned up dn2id_add/delete
Howard Chu [Sat, 8 Dec 2001 10:10:04 +0000 (10:10 +0000)]
Switched to dn_parent1, cleaned up dn2id_add/delete

22 years agoTurned dn_parent into dn_parent1, returning in-place pointer. Made
Howard Chu [Sat, 8 Dec 2001 08:41:39 +0000 (08:41 +0000)]
Turned dn_parent into dn_parent1, returning in-place pointer. Made
dn_parent return ch_strdup of dn_parent1 for compatibility.

22 years agoITS#1399, fix make depend when built as module
Kurt Zeilenga [Sat, 8 Dec 2001 07:48:58 +0000 (07:48 +0000)]
ITS#1399, fix make depend when built as module

22 years agoAdd reference to replication-notes
Kurt Zeilenga [Sat, 8 Dec 2001 07:38:14 +0000 (07:38 +0000)]
Add reference to replication-notes

22 years agoReplication notes
Kurt Zeilenga [Sat, 8 Dec 2001 07:35:48 +0000 (07:35 +0000)]
Replication notes
written by Ganesan Rajagopal <rganesan@debian.org>

22 years agoPretty the entry DNs on add but not rename (yet).
Kurt Zeilenga [Sat, 8 Dec 2001 06:57:06 +0000 (06:57 +0000)]
Pretty the entry DNs on add but not rename (yet).

22 years agoChanged be_nsuffix from char ** to struct berval **, removed nsufflen
Howard Chu [Sat, 8 Dec 2001 05:17:31 +0000 (05:17 +0000)]
Changed be_nsuffix from char ** to struct berval **, removed nsufflen

22 years agoChanged be_nsuffix from char ** to struct berval ** to eliminate strlen's
Howard Chu [Sat, 8 Dec 2001 05:15:58 +0000 (05:15 +0000)]
Changed be_nsuffix from char ** to struct berval ** to eliminate strlen's

22 years agorebuild
Kurt Zeilenga [Sat, 8 Dec 2001 04:31:06 +0000 (04:31 +0000)]
rebuild

22 years agoDisallow duplicate duplicate data
Kurt Zeilenga [Sat, 8 Dec 2001 04:30:23 +0000 (04:30 +0000)]
Disallow duplicate duplicate data

22 years agomisc cleanup
Kurt Zeilenga [Sat, 8 Dec 2001 04:29:34 +0000 (04:29 +0000)]
misc cleanup

22 years agoAdd SLAPD_STATIC_BACKENDS and SLAPD_DYNAMIC_BACKENDS macros to simplify
Howard Chu [Sat, 8 Dec 2001 04:01:30 +0000 (04:01 +0000)]
Add SLAPD_STATIC_BACKENDS and SLAPD_DYNAMIC_BACKENDS macros to simplify
backend build rules.

22 years agoSeparate CFLAGS/CPPFLAGS when using libtool...
Kurt Zeilenga [Sat, 8 Dec 2001 02:32:23 +0000 (02:32 +0000)]
Separate CFLAGS/CPPFLAGS when using libtool...

22 years agoquick fix BSD builds
Kurt Zeilenga [Sat, 8 Dec 2001 01:57:25 +0000 (01:57 +0000)]
quick fix BSD builds

22 years agoFix typos in previous commit
Howard Chu [Sat, 8 Dec 2001 01:16:10 +0000 (01:16 +0000)]
Fix typos in previous commit

22 years agoadd 'objectIdentifier' to openldap.schema ONLY
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

22 years agoPort reference scope fix from back-ldbm
Kurt Zeilenga [Fri, 7 Dec 2001 22:41:43 +0000 (22:41 +0000)]
Port reference scope fix from back-ldbm

22 years agoFix reference scope.
Kurt Zeilenga [Fri, 7 Dec 2001 22:28:46 +0000 (22:28 +0000)]
Fix reference scope.

22 years agoITS#1413 suggested fix
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)

22 years agoSome fixes for BDB_IDL_MULTI. Experimental back-hdb code.
Howard Chu [Fri, 7 Dec 2001 12:38:25 +0000 (12:38 +0000)]
Some fixes for BDB_IDL_MULTI. Experimental back-hdb code.

22 years agoRe-introduce BDB_ID2ENTRY_PAGESIZE. Even if the index databases can get
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).

22 years agoMinor fixes for BDB_IDL_MULTI
Howard Chu [Fri, 7 Dec 2001 06:48:38 +0000 (06:48 +0000)]
Minor fixes for BDB_IDL_MULTI

22 years agoMissed a spot where root DN_SUBTREE index was still getting written.
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.

22 years agoBare minimum changes to support BDB 4.0
Howard Chu [Fri, 7 Dec 2001 05:05:00 +0000 (05:05 +0000)]
Bare minimum changes to support BDB 4.0

22 years agoautoconf for hyc
Kurt Zeilenga [Fri, 7 Dec 2001 04:40:07 +0000 (04:40 +0000)]
autoconf for hyc

22 years agoNT updates from jon@symas.com.
Howard Chu [Fri, 7 Dec 2001 04:03:25 +0000 (04:03 +0000)]
NT updates from jon@symas.com.

22 years agoMinor fix to allow build with BDB 4
Howard Chu [Fri, 7 Dec 2001 03:56:16 +0000 (03:56 +0000)]
Minor fix to allow build with BDB 4

22 years agoMinor fixes from jon@symas.com
Howard Chu [Fri, 7 Dec 2001 03:19:29 +0000 (03:19 +0000)]
Minor fixes from jon@symas.com

22 years agoFix from jon@symas.com for misdeclared lib handle
Howard Chu [Fri, 7 Dec 2001 03:18:32 +0000 (03:18 +0000)]
Fix from jon@symas.com for misdeclared lib handle

22 years agoAvoid unnecessary strcmp's
Howard Chu [Fri, 7 Dec 2001 02:26:33 +0000 (02:26 +0000)]
Avoid unnecessary strcmp's

22 years agoMore from Jon Leichter @ Symas - platform-independent TMPDIR usage
Howard Chu [Fri, 7 Dec 2001 02:22:07 +0000 (02:22 +0000)]
More from Jon Leichter @ Symas - platform-independent TMPDIR usage

22 years agoSquash some whitespace in a DN. (trivial)
Howard Chu [Fri, 7 Dec 2001 01:54:53 +0000 (01:54 +0000)]
Squash some whitespace in a DN. (trivial)

22 years agoFrom jon@symas.com - patches for consistent use of directory separators
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.

22 years agoWhen using BDB_IDL_MULTI, there are no longer any issues with storing
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.

22 years agoITS#1482 patch from Michael.Gerdts@usa.alcatel.co
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.

22 years agoAdd copyright notice, remove _KERNEL stuff.
Kurt Zeilenga [Thu, 6 Dec 2001 16:11:04 +0000 (16:11 +0000)]
Add copyright notice, remove _KERNEL stuff.

22 years agoAdd BSD Queue (and list) management
Kurt Zeilenga [Thu, 6 Dec 2001 15:55:34 +0000 (15:55 +0000)]
Add BSD Queue (and list) management

22 years agoFix for BDB_IDL_MULTI to work.
Howard Chu [Thu, 6 Dec 2001 14:15:47 +0000 (14:15 +0000)]
Fix for BDB_IDL_MULTI to work.

22 years agoOne more seeAlso DN to squash.
Howard Chu [Thu, 6 Dec 2001 13:21:36 +0000 (13:21 +0000)]
One more seeAlso DN to squash.

22 years agoExperimental index management. Uncomment BDB_IDL_MULTI in back-bdb.h
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.

22 years agoFix so previous change to slapcat works.
Howard Chu [Thu, 6 Dec 2001 12:28:49 +0000 (12:28 +0000)]
Fix so previous change to slapcat works.

22 years agonow dnValidate loops thru each value; added private member to LDAPAVA to hold the...
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

22 years agoliberally accept many LDAPv2/LDAPv3 stuff in DN (quoted parts, ';' as rdn separator...
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

22 years agopretty DNs
Kurt Zeilenga [Thu, 6 Dec 2001 07:32:53 +0000 (07:32 +0000)]
pretty DNs

22 years agoStrip whitespace from DN-valued attributes.
Howard Chu [Thu, 6 Dec 2001 07:18:18 +0000 (07:18 +0000)]
Strip whitespace from DN-valued attributes.

22 years agoStrip whitespace from DN-valued attributes
Howard Chu [Thu, 6 Dec 2001 07:15:48 +0000 (07:15 +0000)]
Strip whitespace from DN-valued attributes

22 years agoTurn off syslog on slapd
Howard Chu [Thu, 6 Dec 2001 06:42:56 +0000 (06:42 +0000)]
Turn off syslog on slapd

22 years agoStripped whitespace between entry DN components.
Howard Chu [Thu, 6 Dec 2001 06:40:09 +0000 (06:40 +0000)]
Stripped whitespace between entry DN components.

22 years agoDon't extern gdbm_errno. Defined in <gdbm.h> (GDBM 1.8)
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)

22 years agoFix previous commit
Howard Chu [Thu, 6 Dec 2001 03:29:23 +0000 (03:29 +0000)]
Fix previous commit

22 years agoMinor rearrangement, give pdn to dn2id_add to avoid getting it twice.
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.

22 years agoRework dnNormalize/dnPretty to share LDAP_rewrite
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).

22 years agoFix, index databases were not being closed on shutdown.
Howard Chu [Thu, 6 Dec 2001 03:24:09 +0000 (03:24 +0000)]
Fix, index databases were not being closed on shutdown.

22 years agoAllow an object class to be provided in an attribute description list,
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., "+" "*")

22 years agoMisc cleanup
Kurt Zeilenga [Wed, 5 Dec 2001 23:27:49 +0000 (23:27 +0000)]
Misc cleanup

22 years agoMonitor schema should be defined in a separate file.
Kurt Zeilenga [Wed, 5 Dec 2001 23:24:51 +0000 (23:24 +0000)]
Monitor schema should be defined in a separate file.

22 years agoMisc I-D updates
Kurt Zeilenga [Wed, 5 Dec 2001 23:16:35 +0000 (23:16 +0000)]
Misc I-D updates
Misc schema updates

22 years agoAdd basic infrastructure for pretty routines
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.

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