]> git.sur5r.net Git - openldap/log
openldap
23 years agofixes another assert in case of subtle error (schema failure while applying rdn changes)
Pierangelo Masarati [Mon, 30 Jul 2001 20:12:34 +0000 (20:12 +0000)]
fixes another assert in case of subtle error (schema failure while applying rdn changes)

23 years agofixes ITS#1261 (abort on modrdn with new dn already existing)
Pierangelo Masarati [Mon, 30 Jul 2001 14:54:02 +0000 (14:54 +0000)]
fixes ITS#1261 (abort on modrdn with new dn already existing)

23 years agoAdd no attrs clarification
Kurt Zeilenga [Mon, 30 Jul 2001 07:03:31 +0000 (07:03 +0000)]
Add no attrs clarification

23 years agofixed some memory allocation nonsense
Pierangelo Masarati [Sun, 29 Jul 2001 17:21:28 +0000 (17:21 +0000)]
fixed some memory allocation nonsense

23 years agoFixed a tiny typo/spelling error
Stig Venaas [Sun, 29 Jul 2001 11:46:41 +0000 (11:46 +0000)]
Fixed a tiny typo/spelling error

23 years agofix typo
Pierangelo Masarati [Sat, 28 Jul 2001 17:35:32 +0000 (17:35 +0000)]
fix typo

23 years agoregex-based per op_ndn time/size limits
Pierangelo Masarati [Sat, 28 Jul 2001 12:07:40 +0000 (12:07 +0000)]
regex-based per op_ndn time/size limits

23 years agoexploits regex-based per op_ndn time/size limits
Pierangelo Masarati [Sat, 28 Jul 2001 11:25:00 +0000 (11:25 +0000)]
exploits regex-based per op_ndn time/size limits

23 years agohandle regex-based per op_ndn time/size limits
Pierangelo Masarati [Sat, 28 Jul 2001 11:24:22 +0000 (11:24 +0000)]
handle regex-based per op_ndn time/size limits

23 years agoRemove compare root dse task, in development
Kurt Zeilenga [Sat, 28 Jul 2001 01:06:36 +0000 (01:06 +0000)]
Remove compare root dse task, in development

23 years agoRemove assert(0)
Kurt Zeilenga [Sat, 28 Jul 2001 01:06:06 +0000 (01:06 +0000)]
Remove assert(0)

23 years agoRemoved duplicate code by replacing case-Exact/Ignore-Filter/Indexer and
Stig Venaas [Fri, 27 Jul 2001 22:54:43 +0000 (22:54 +0000)]
Removed duplicate code by replacing case-Exact/Ignore-Filter/Indexer and
case-Exact/Ignore-Substrings-Match/Filter/Indexer with common code for
the caseExact and caseIgnore cases

23 years agoMaking the approx multistring code default. Leaving the old code for now,
Stig Venaas [Thu, 26 Jul 2001 22:33:28 +0000 (22:33 +0000)]
Making the approx multistring code default. Leaving the old code for now,
but can really be removed.

23 years agoMisc cleanup of asserts
Kurt Zeilenga [Thu, 26 Jul 2001 01:08:00 +0000 (01:08 +0000)]
Misc cleanup of asserts

23 years agoMade approxMatch/Indexer/Filter all do Unicode cannonical normalization
Stig Venaas [Wed, 25 Jul 2001 21:22:55 +0000 (21:22 +0000)]
Made approxMatch/Indexer/Filter all do Unicode cannonical normalization
followed by stripping of characters with 8th bit set. The normalization
is needed to make exact match imply approx match.

23 years agoITS#1274 fix
Kurt Zeilenga [Tue, 24 Jul 2001 19:54:04 +0000 (19:54 +0000)]
ITS#1274 fix

23 years agoTo be consistent, should assert that ld is valid.
Kurt Zeilenga [Tue, 24 Jul 2001 16:38:42 +0000 (16:38 +0000)]
To be consistent, should assert that ld is valid.

23 years agosuffix option; allows partial replication of a database
Pierangelo Masarati [Tue, 24 Jul 2001 13:39:43 +0000 (13:39 +0000)]
suffix option; allows partial replication of a database

23 years agoMisc. updates
Kurt Zeilenga [Tue, 24 Jul 2001 07:56:07 +0000 (07:56 +0000)]
Misc. updates

23 years agoMisc updates
Kurt Zeilenga [Tue, 24 Jul 2001 06:26:32 +0000 (06:26 +0000)]
Misc updates

23 years agoRework single-value check
Kurt Zeilenga [Tue, 24 Jul 2001 04:31:01 +0000 (04:31 +0000)]
Rework single-value check

23 years agoAdd an improved single value constraint check.
Kurt Zeilenga [Tue, 24 Jul 2001 03:25:17 +0000 (03:25 +0000)]
Add an improved single value constraint check.

23 years agoadded extra check to suffix param of replica entry
Pierangelo Masarati [Mon, 23 Jul 2001 14:32:59 +0000 (14:32 +0000)]
added extra check to suffix param of replica entry

23 years agomisc updates, constification, deprecation...
Kurt Zeilenga [Mon, 23 Jul 2001 05:00:39 +0000 (05:00 +0000)]
misc updates, constification, deprecation...

23 years agoMisc cleanup
Kurt Zeilenga [Mon, 23 Jul 2001 04:31:41 +0000 (04:31 +0000)]
Misc cleanup

23 years agoMisc updates
Kurt Zeilenga [Mon, 23 Jul 2001 04:16:42 +0000 (04:16 +0000)]
Misc updates

23 years agoLDAPext I-D updates
Kurt Zeilenga [Mon, 23 Jul 2001 04:12:58 +0000 (04:12 +0000)]
LDAPext I-D updates

23 years agoFix typo
Kurt Zeilenga [Sun, 22 Jul 2001 03:25:45 +0000 (03:25 +0000)]
Fix typo

23 years agofix up UTF8MATCH
Kurt Zeilenga [Sun, 22 Jul 2001 02:45:21 +0000 (02:45 +0000)]
fix up UTF8MATCH

23 years agoUse DN normalize
Kurt Zeilenga [Sun, 22 Jul 2001 00:32:58 +0000 (00:32 +0000)]
Use DN normalize

23 years agoWe shouldn't need UTF8oncasecmp() and UTF8casechr() anymore, removing
Stig Venaas [Sun, 22 Jul 2001 00:31:04 +0000 (00:31 +0000)]
We shouldn't need UTF8oncasecmp() and UTF8casechr() anymore, removing
them.

23 years agoMinor cleanup
Kurt Zeilenga [Sun, 22 Jul 2001 00:14:42 +0000 (00:14 +0000)]
Minor cleanup

23 years agoZap old DN code
Kurt Zeilenga [Sat, 21 Jul 2001 23:45:04 +0000 (23:45 +0000)]
Zap old DN code

23 years agoMake some additional UTF8 public
Kurt Zeilenga [Sat, 21 Jul 2001 23:13:04 +0000 (23:13 +0000)]
Make some additional UTF8 public
Remove lint

23 years agoZap !UTF8MATCH code
Kurt Zeilenga [Sat, 21 Jul 2001 23:02:06 +0000 (23:02 +0000)]
Zap !UTF8MATCH code

23 years agoBack out DN changes, needs more work
Kurt Zeilenga [Sat, 21 Jul 2001 22:44:55 +0000 (22:44 +0000)]
Back out DN changes, needs more work

23 years agounifdef -DMULTIATTRVAL_RDN
Kurt Zeilenga [Sat, 21 Jul 2001 21:21:32 +0000 (21:21 +0000)]
unifdef -DMULTIATTRVAL_RDN

23 years agoAdded the suffix=<dn> parameter to replica config directive
Pierangelo Masarati [Sat, 21 Jul 2001 14:15:23 +0000 (14:15 +0000)]
Added the suffix=<dn> parameter to replica config directive
to allow selective replication of subtrees of a single database.
Multiple occurrences allow the same replica to handle different
subtrees

23 years agoReworked again the caching in case of failure.
Pierangelo Masarati [Sat, 21 Jul 2001 10:53:06 +0000 (10:53 +0000)]
Reworked again the caching in case of failure.
Now operations that set the status of an entry to CREATING (add.c, modrdn.c)
need to set it to COMMIT, by calling cache_entry_commit, before returning
the entry itself, otherwise the entry is removed from the cache
and its private data is freed.
Should fix crashes due to add failures as in ITS#1245

23 years agoReworked API of nextid; e_private gets destroyed separately from the entry in case...
Pierangelo Masarati [Fri, 20 Jul 2001 09:50:28 +0000 (09:50 +0000)]
Reworked API of nextid; e_private gets destroyed separately from the entry in case add fails (should fix ITS#1245)

23 years agoMade caseExactMatch() use Unicode normalization
Stig Venaas [Tue, 17 Jul 2001 20:09:37 +0000 (20:09 +0000)]
Made caseExactMatch() use Unicode normalization

23 years agoMade caseIgnoreSubstringsMatch and caseExactSubstringsMatch use proper
Stig Venaas [Tue, 17 Jul 2001 19:35:23 +0000 (19:35 +0000)]
Made caseIgnoreSubstringsMatch and caseExactSubstringsMatch use proper
Unicode cannonical normalization

23 years agoPrevent ldbm_sync from being called by ldbm_cache_close when the new
Randy Kunkee [Mon, 16 Jul 2001 23:21:36 +0000 (23:21 +0000)]
Prevent ldbm_sync from being called by ldbm_cache_close when the new
dbsync configuration is in use, which was preventing the performance
gains of this mode.

23 years agoFixed UTF8 encoding checks for substrings assertions
Stig Venaas [Mon, 16 Jul 2001 22:48:52 +0000 (22:48 +0000)]
Fixed UTF8 encoding checks for substrings assertions

23 years agoFix ITS#1239:
Randy Kunkee [Mon, 16 Jul 2001 22:16:24 +0000 (22:16 +0000)]
Fix ITS#1239:
slapadd core-dumps when destroying db's env (Sleepycat 3.2.9) (ITS#1239)
Only call ldbm_shutdown_env if the database has been opened, ie. when
li->li_dbenv != NULL.  Would appear any time a shutdown occurred and
not all LDBM databases were opened.

23 years agoFixed bug in caseExactSubstringsIndexer() and caseIgnoreSubstringsIndexer().
Stig Venaas [Sun, 15 Jul 2001 21:28:07 +0000 (21:28 +0000)]
Fixed bug in caseExactSubstringsIndexer() and caseIgnoreSubstringsIndexer().
UTF8 normalization must be done before we compute number of keys since
string length might increase.

23 years agoExtend assertion value syntax checks to some other cases. Needs to
Kurt Zeilenga [Sun, 15 Jul 2001 17:25:49 +0000 (17:25 +0000)]
Extend assertion value syntax checks to some other cases.  Needs to
be applied to substrings assertions as well.

23 years agoFix typo in disallow logging
Kurt Zeilenga [Sun, 15 Jul 2001 17:25:00 +0000 (17:25 +0000)]
Fix typo in disallow logging

23 years agoFixed segfault in caseIgnoreFilter when assertion value has bad UTF8 coding
Stig Venaas [Sun, 15 Jul 2001 16:21:36 +0000 (16:21 +0000)]
Fixed segfault in caseIgnoreFilter when assertion value has bad UTF8 coding

23 years agoreworked slapd_mods_free into mimic to avoid extra obj linking into tools
Pierangelo Masarati [Sat, 14 Jul 2001 17:48:12 +0000 (17:48 +0000)]
reworked slapd_mods_free into mimic to avoid extra obj linking into tools

23 years agoThis is the skeleton of back-monitor, the slapd monitoring backend.
Pierangelo Masarati [Sat, 14 Jul 2001 17:34:24 +0000 (17:34 +0000)]
This is the skeleton of back-monitor, the slapd monitoring backend.
The old monitoring stuff has been removed; the new backend is
enabled by using --enable-monitor at configure time and requires

database monitor

in slapd.conf to be activated.  At present it implements a subset
of the old monitoring options, and it should be extendable to
a number of different subsystems.  The search operation has been
implementd; it does not honor abandon or size/time limits, though.
The compare and the abandon operations are planned.

Copyright Pierangelo Masarati <ando@sys-net.it>; the code is provided
AS IS with NO GUARANTEE.  It can be used and distributed under the
conditions stated by the OpenLDAP Public License.

23 years agoAdd extraneous database to slapd.conf
Kurt Zeilenga [Sat, 14 Jul 2001 01:28:19 +0000 (01:28 +0000)]
Add extraneous database to slapd.conf
Remove ssf from slapd-schema.conf

23 years agoQuick and dirty hack to add password modify replication.
Kurt Zeilenga [Sat, 14 Jul 2001 01:26:02 +0000 (01:26 +0000)]
Quick and dirty hack to add password modify replication.

23 years agodn_validate/dn_normalize has been rewritten by
Pierangelo Masarati [Fri, 13 Jul 2001 08:21:14 +0000 (08:21 +0000)]
dn_validate/dn_normalize has been rewritten by
David A. Cooper <david.cooper@nist.gov> (ITS#1232)
according to draft-ietf-ldapbis-dn-05.txt

A copyright statement follows:

  The functions normalize_unicode(), get_hexpair(), write_hex_pair(),
  get_next_byte(), get_next_char(), get_ber_length(),
  ber_parse_primitive_string(), ber_parse_string(), String_normalize(),
  DirectoryString_normalize(), PrintableString_normalize(),
  IA5String_normalize(), ber_parse_primitive_bitstring(),
  ber_parse_bitstring(), getNext8bits(), bitString_normalize(), match_oid(),
  match_key(), get_validated_av_in_dn(), get_validated_rdn_in_dn(),
  and get_validated_dn() in this file were developed at the National Institute
  of Standards and Technology by employees of the Federal Government in the
  course of their official duties. Pursuant to title 17 Section 105 of the
  United States Code the code in these functions is not subject to copyright
  protection and is in the public domain. The copyright for all other code in
  this file is as specified below.

23 years agohonors multiple type/value in rdn when generating ufn
Pierangelo Masarati [Wed, 11 Jul 2001 20:16:25 +0000 (20:16 +0000)]
honors multiple type/value in rdn when generating ufn

23 years agoadded function cache_find_entry_ndn2id that avoids an unnecessary call to dn_normaliz...
Pierangelo Masarati [Wed, 11 Jul 2001 08:41:42 +0000 (08:41 +0000)]
added function cache_find_entry_ndn2id that avoids an unnecessary call to dn_normalize; now dn2id calls this function, while the original function has been left as a wrapper

23 years agoChange comments to invite email from people using it, and to note that
Randy Kunkee [Tue, 10 Jul 2001 22:17:09 +0000 (22:17 +0000)]
Change comments to invite email from people using it, and to note that
OpenLDAP 2.x is supported.

23 years agoCall ldap_memfree(attributeName) for returns from ldap_first_attribute()
Randy Kunkee [Tue, 10 Jul 2001 22:11:57 +0000 (22:11 +0000)]
Call ldap_memfree(attributeName) for returns from ldap_first_attribute()
and ldap_next_attribute if using newer interface.  Current test for this
is an #if LDAP_API_VERSION >= 2004.

23 years agoreworked rdn_attrs to use ldap_explode_rdn; maybe we should remove escapes "\" from...
Pierangelo Masarati [Tue, 10 Jul 2001 18:19:22 +0000 (18:19 +0000)]
reworked rdn_attrs to use ldap_explode_rdn; maybe we should remove escapes "\" from parts directly in ldap_explode_rdn

23 years agofix bad debug message
Gary Williams [Tue, 10 Jul 2001 16:42:26 +0000 (16:42 +0000)]
fix bad debug message

23 years agoForbid empty ("") dn! (followup 5 to ITS#1173)
Pierangelo Masarati [Mon, 9 Jul 2001 10:35:43 +0000 (10:35 +0000)]
Forbid empty ("") dn! (followup 5 to ITS#1173)

23 years agoIf add to "" is allowed, also modrdn should
Pierangelo Masarati [Sat, 7 Jul 2001 15:40:25 +0000 (15:40 +0000)]
If add to "" is allowed, also modrdn should

23 years agodn2idl API changed for consistency with other dn2id* funcs
Pierangelo Masarati [Sat, 7 Jul 2001 14:49:42 +0000 (14:49 +0000)]
dn2idl API changed for consistency with other dn2id* funcs

23 years agomoved some slap_mods_* functions into mods.c, so mods.o can be included
Pierangelo Masarati [Sat, 7 Jul 2001 09:13:05 +0000 (09:13 +0000)]
moved some slap_mods_* functions into mods.c, so mods.o can be included
by slapd/tools/*; slap_mods_free is needed by ldbm_back_modrdn after
fixing ITS#1184 (at present -DMULTIATTRVAL_RDN is needed when compiling
back-ldbm/modrdn.c to trigger the compilation of new code).

23 years agoclean out contrib and clients
Kurt Zeilenga [Sat, 7 Jul 2001 05:28:23 +0000 (05:28 +0000)]
clean out contrib and clients

23 years agoClarify notes a bit
Kurt Zeilenga [Sat, 7 Jul 2001 05:27:51 +0000 (05:27 +0000)]
Clarify notes a bit

23 years agoAdd 3112 ref
Kurt Zeilenga [Sat, 7 Jul 2001 05:24:19 +0000 (05:24 +0000)]
Add 3112 ref

23 years agoClean up RFC 3112 entry
Kurt Zeilenga [Sat, 7 Jul 2001 05:23:45 +0000 (05:23 +0000)]
Clean up RFC 3112 entry

23 years agoFix RFC ref
Kurt Zeilenga [Sat, 7 Jul 2001 05:23:10 +0000 (05:23 +0000)]
Fix RFC ref

23 years agoMajor clients cleanout
Kurt Zeilenga [Sat, 7 Jul 2001 05:05:38 +0000 (05:05 +0000)]
Major clients cleanout

23 years agoMore contrib cleanout
Kurt Zeilenga [Sat, 7 Jul 2001 05:01:31 +0000 (05:01 +0000)]
More contrib cleanout

23 years agoMajor cleanout of contrib
Kurt Zeilenga [Sat, 7 Jul 2001 05:00:39 +0000 (05:00 +0000)]
Major cleanout of contrib

23 years agofixed test on "" (empty) parent dn
Pierangelo Masarati [Fri, 6 Jul 2001 14:40:27 +0000 (14:40 +0000)]
fixed test on "" (empty) parent dn

23 years agohonors '+' rdn separator in adding/deleting attributes; needs -DMULTIATTRVAL_RDN...
Pierangelo Masarati [Fri, 6 Jul 2001 12:24:34 +0000 (12:24 +0000)]
honors '+' rdn separator in adding/deleting attributes; needs -DMULTIATTRVAL_RDN. Please test

23 years agoprotos and declarations for charray and rdn stuff
Pierangelo Masarati [Fri, 6 Jul 2001 12:23:22 +0000 (12:23 +0000)]
protos and declarations for charray and rdn stuff

23 years agoadded rdn_attrs: parses a rdn and returns types and values in two arrays (honors...
Pierangelo Masarati [Fri, 6 Jul 2001 12:22:01 +0000 (12:22 +0000)]
added rdn_attrs: parses a rdn and returns types and values in two arrays (honors '+' separator according to RFC 2253)

23 years agoadded misc charray utilities
Pierangelo Masarati [Fri, 6 Jul 2001 12:20:26 +0000 (12:20 +0000)]
added misc charray utilities

23 years agoCheck for critical client controls.
Kurt Zeilenga [Fri, 6 Jul 2001 03:13:42 +0000 (03:13 +0000)]
Check for critical client controls.

23 years agoMinor cleanup
Kurt Zeilenga [Fri, 6 Jul 2001 02:17:18 +0000 (02:17 +0000)]
Minor cleanup

23 years agoMove LDAPI_SOCK to LDAP_RUNDIR
Kurt Zeilenga [Fri, 6 Jul 2001 02:16:23 +0000 (02:16 +0000)]
Move LDAPI_SOCK to LDAP_RUNDIR

23 years agoFix root dse checks
Kurt Zeilenga [Fri, 6 Jul 2001 02:14:47 +0000 (02:14 +0000)]
Fix root dse checks

23 years agoCorrect X.500 reference
Kurt Zeilenga [Fri, 6 Jul 2001 02:11:17 +0000 (02:11 +0000)]
Correct X.500 reference

23 years agoadded a comment to rdn_validate: needs to be rewritten according to dn_validate
Pierangelo Masarati [Thu, 5 Jul 2001 20:33:15 +0000 (20:33 +0000)]
added a comment to rdn_validate: needs to be rewritten according to dn_validate

23 years agordn check to prevent illegal rdns in modrdn (copied from dn_rdn) fixes ITS#1102
Pierangelo Masarati [Thu, 5 Jul 2001 08:40:40 +0000 (08:40 +0000)]
rdn check to prevent illegal rdns in modrdn (copied from dn_rdn) fixes ITS#1102

23 years agomake slurpd honor include files in slapd.conf (note: the problem was signalled in...
Pierangelo Masarati [Wed, 4 Jul 2001 20:03:49 +0000 (20:03 +0000)]
make slurpd honor include files in slapd.conf (note: the problem was signalled in ITS#131 :)

23 years agoUsed API signature from back-bdb; compiles and passes make test
Pierangelo Masarati [Tue, 3 Jul 2001 11:23:18 +0000 (11:23 +0000)]
Used API signature from back-bdb; compiles and passes make test

23 years agoseparate ID return value form return status in dn2id (back-ldbm/dn2id.c)
Pierangelo Masarati [Mon, 2 Jul 2001 19:42:27 +0000 (19:42 +0000)]
separate ID return value form return status in dn2id (back-ldbm/dn2id.c)

23 years agoRemove global_backendsyncfreq code (code has been pushed down into back-ldbm).
Randy Kunkee [Thu, 28 Jun 2001 18:02:46 +0000 (18:02 +0000)]
Remove global_backendsyncfreq code (code has been pushed down into back-ldbm).

23 years agoChange to _TRACE instead of _ANY for sync daemon internals.
Randy Kunkee [Thu, 28 Jun 2001 09:27:01 +0000 (09:27 +0000)]
Change to _TRACE instead of _ANY for sync daemon internals.

23 years agoMove backend_syncfreq code down into back-ldbm. Creates new configuration
Randy Kunkee [Thu, 28 Jun 2001 09:20:33 +0000 (09:20 +0000)]
Move backend_syncfreq code down into back-ldbm.  Creates new configuration
for LDBM backends called "dbsync", which takes minimum of one argument up
to 3 args which are sync frequency, # of delays, and delay periods.  See
man page update for "dbsync" configuration for more details.

23 years agoTLS doesn't need ldap_host_connected_to()
Kurt Zeilenga [Mon, 25 Jun 2001 21:44:41 +0000 (21:44 +0000)]
TLS doesn't need ldap_host_connected_to()

23 years agoReplace ATTR_URIS with ATTR_OPTION (more general solution)
Kurt Zeilenga [Mon, 25 Jun 2001 21:39:14 +0000 (21:39 +0000)]
Replace ATTR_URIS with ATTR_OPTION (more general solution)

23 years agoAnother round of TLS updates to support secure referral chasing
Kurt Zeilenga [Mon, 25 Jun 2001 19:17:42 +0000 (19:17 +0000)]
Another round of TLS updates to support secure referral chasing

23 years agoRework tls check
Kurt Zeilenga [Mon, 25 Jun 2001 18:20:14 +0000 (18:20 +0000)]
Rework tls check
Needs to be connection specific

23 years agomove TLS ctx to lconn struct in prep for supporting TLS with referrals
Kurt Zeilenga [Mon, 25 Jun 2001 07:33:42 +0000 (07:33 +0000)]
move TLS ctx to lconn struct in prep for supporting TLS with referrals
need to rework cert check to use per lconn host name

23 years agoactually, <ac/strings.h> rather goes into rewrite-int.h
Pierangelo Masarati [Sat, 23 Jun 2001 16:06:34 +0000 (16:06 +0000)]
actually, <ac/strings.h> rather goes into rewrite-int.h

23 years agocatch up with bi_db_sync stuff
Pierangelo Masarati [Sat, 23 Jun 2001 15:43:21 +0000 (15:43 +0000)]
catch up with bi_db_sync stuff

23 years agoPlug idl leakage
Kurt Zeilenga [Sat, 23 Jun 2001 05:05:08 +0000 (05:05 +0000)]
Plug idl leakage

23 years agoAdd comments to three-value logic
Kurt Zeilenga [Sat, 23 Jun 2001 02:42:39 +0000 (02:42 +0000)]
Add comments to three-value logic

23 years agoFix three value logic
Kurt Zeilenga [Sat, 23 Jun 2001 02:26:09 +0000 (02:26 +0000)]
Fix three value logic