]> git.sur5r.net Git - openldap/log
openldap
22 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

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

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

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

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

22 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

22 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

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

22 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

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

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

22 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

22 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

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

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

22 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

22 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

23 years agoSync with 2.x
Kurt Zeilenga [Sat, 23 Jun 2001 01:25:21 +0000 (01:25 +0000)]
Sync with 2.x

23 years agoinclude <ac/string.h> as needed (not in rewrite.h)
Kurt Zeilenga [Sat, 23 Jun 2001 01:20:32 +0000 (01:20 +0000)]
include <ac/string.h> as needed (not in rewrite.h)

23 years agoFix up error handling
Kurt Zeilenga [Fri, 22 Jun 2001 21:01:04 +0000 (21:01 +0000)]
Fix up error handling

23 years agoBackout directory config option
Kurt Zeilenga [Fri, 22 Jun 2001 21:00:24 +0000 (21:00 +0000)]
Backout directory config option

23 years agoUpdate
Kurt Zeilenga [Fri, 22 Jun 2001 18:11:22 +0000 (18:11 +0000)]
Update

23 years agoNo need to check for snprintf as code requires it to be present.
Kurt Zeilenga [Fri, 22 Jun 2001 18:10:55 +0000 (18:10 +0000)]
No need to check for snprintf as code requires it to be present.

23 years agoplug substrings filter memory leak
Kurt Zeilenga [Fri, 22 Jun 2001 18:09:19 +0000 (18:09 +0000)]
plug substrings filter memory leak

23 years agoTLS initialization fix
Kurt Zeilenga [Fri, 22 Jun 2001 18:08:44 +0000 (18:08 +0000)]
TLS initialization fix

23 years agoAdd sync_daemon to daemon.c, enabled by global configuration
Randy Kunkee [Fri, 22 Jun 2001 08:38:58 +0000 (08:38 +0000)]
Add sync_daemon to daemon.c, enabled by global configuration
backendsyncfreq <seconds>.  Setting this automatically enables
dbnosync (because the synchronizer takes care of it).

23 years agoTune db3 caching: only call set_cachesize for environment, and not individual
Randy Kunkee [Fri, 22 Jun 2001 08:31:36 +0000 (08:31 +0000)]
Tune db3 caching: only call set_cachesize for environment, and not individual
files.  Don't call set_cachesize if dbcachesize = 0.

23 years agoDon't say "version: 2"
Kurt Zeilenga [Thu, 21 Jun 2001 20:32:04 +0000 (20:32 +0000)]
Don't say "version: 2"

23 years ago#include <string.h> if HAVE_STRING_H is defined. Cleans up several
Randy Kunkee [Thu, 21 Jun 2001 19:11:27 +0000 (19:11 +0000)]
#include <string.h> if HAVE_STRING_H is defined.  Cleans up several
integer-pointer conversions errors in librewrite (on FreeBSD 4.2).

23 years agoPatches from Mark Whitehouse (with changes from myself) to make the
Randy Kunkee [Thu, 21 Jun 2001 18:54:56 +0000 (18:54 +0000)]
Patches from Mark Whitehouse (with changes from myself) to make the
dbcachesize setting actually work for db-3.2.9.

23 years agoTLS should refer to 2830
Kurt Zeilenga [Mon, 18 Jun 2001 23:40:45 +0000 (23:40 +0000)]
TLS should refer to 2830

23 years agos/__/LDAP_P/g
Kurt Zeilenga [Sat, 16 Jun 2001 07:37:43 +0000 (07:37 +0000)]
s/__/LDAP_P/g

23 years agoFix undefined filter parsing
Kurt Zeilenga [Sat, 16 Jun 2001 02:20:48 +0000 (02:20 +0000)]
Fix undefined filter parsing

23 years agoWork in progress codes. !UNTESTED!
Kurt Zeilenga [Fri, 15 Jun 2001 07:08:37 +0000 (07:08 +0000)]
Work in progress codes.  !UNTESTED!

23 years agoRebind cleanup
Kurt Zeilenga [Fri, 15 Jun 2001 04:49:38 +0000 (04:49 +0000)]
Rebind cleanup

23 years agoMore clean up
Kurt Zeilenga [Fri, 15 Jun 2001 04:31:55 +0000 (04:31 +0000)]
More clean up

23 years agofix partial commit of rebind changes
Kurt Zeilenga [Fri, 15 Jun 2001 04:28:58 +0000 (04:28 +0000)]
fix partial commit of rebind changes

23 years agoMisc updates for NT4
Kurt Zeilenga [Fri, 15 Jun 2001 04:16:55 +0000 (04:16 +0000)]
Misc updates for NT4

23 years agoUpdate to 2.6
Kurt Zeilenga [Fri, 15 Jun 2001 02:36:53 +0000 (02:36 +0000)]
Update to 2.6

23 years agoFix year
Kurt Zeilenga [Fri, 15 Jun 2001 02:35:42 +0000 (02:35 +0000)]
Fix year

23 years agoAdd "with or without modification" to COPYRIGHT
Kurt Zeilenga [Fri, 15 Jun 2001 02:34:03 +0000 (02:34 +0000)]
Add "with or without modification" to COPYRIGHT
Remove clause 5 (due credit) from LICENSE

23 years agonew rebind proc
Kurt Zeilenga [Fri, 15 Jun 2001 00:14:56 +0000 (00:14 +0000)]
new rebind proc
new SASL locking

23 years agoUpdate headers
Kurt Zeilenga [Fri, 15 Jun 2001 00:02:12 +0000 (00:02 +0000)]
Update headers

23 years agoRemove extraneous variable
Kurt Zeilenga [Fri, 15 Jun 2001 00:00:52 +0000 (00:00 +0000)]
Remove extraneous variable

23 years agoAdd authpassword task
Kurt Zeilenga [Thu, 14 Jun 2001 23:50:05 +0000 (23:50 +0000)]
Add authpassword task

23 years agoAdd UTF-8
Kurt Zeilenga [Thu, 14 Jun 2001 05:55:43 +0000 (05:55 +0000)]
Add UTF-8

23 years agoUpdate ud todo items
Kurt Zeilenga [Thu, 14 Jun 2001 05:47:02 +0000 (05:47 +0000)]
Update ud todo items

23 years agoRestore
Kurt Zeilenga [Thu, 14 Jun 2001 05:30:26 +0000 (05:30 +0000)]
Restore

23 years agoRip most of Kbind out in prep for adding SASL.
Kurt Zeilenga [Thu, 14 Jun 2001 05:28:46 +0000 (05:28 +0000)]
Rip most of Kbind out in prep for adding SASL.

23 years agoRemove const from salt_format
Kurt Zeilenga [Thu, 14 Jun 2001 02:20:05 +0000 (02:20 +0000)]
Remove const from salt_format

23 years agoMisc updates to password codes / docs
Kurt Zeilenga [Wed, 13 Jun 2001 05:40:24 +0000 (05:40 +0000)]
Misc updates to password codes / docs

23 years agoDelete debugging #undef committed by mistake
Kurt Zeilenga [Wed, 13 Jun 2001 05:33:30 +0000 (05:33 +0000)]
Delete debugging #undef committed by mistake

23 years agoAdding crypt(3) salt format (ITS#1202) from Jeff Costlow <j.costlow@f5.com>
Kurt Zeilenga [Wed, 13 Jun 2001 03:47:17 +0000 (03:47 +0000)]
Adding crypt(3) salt format (ITS#1202) from Jeff Costlow <j.costlow@f5.com>
with minor changes by committer
---
Copyright 2001, F5 Networks, Inc, All rights reserved.
This software is not subject to any license of F5 Networks.

This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.

23 years agoMisc fixes, namely to indexing codes
Kurt Zeilenga [Tue, 12 Jun 2001 20:57:19 +0000 (20:57 +0000)]
Misc fixes, namely to indexing codes

23 years agoRemove more UFN cruft
Kurt Zeilenga [Mon, 11 Jun 2001 21:25:14 +0000 (21:25 +0000)]
Remove more UFN cruft

23 years agounifdef -ULDAP_UFN
Kurt Zeilenga [Mon, 11 Jun 2001 21:08:49 +0000 (21:08 +0000)]
unifdef -ULDAP_UFN

23 years agoAdditional HEAD comments
Kurt Zeilenga [Mon, 11 Jun 2001 21:08:39 +0000 (21:08 +0000)]
Additional HEAD comments

23 years agoLeave dn2ufn.
Kurt Zeilenga [Mon, 11 Jun 2001 20:45:06 +0000 (20:45 +0000)]
Leave dn2ufn.

23 years agoMore caching as experimental
Kurt Zeilenga [Mon, 11 Jun 2001 20:34:14 +0000 (20:34 +0000)]
More caching as experimental

23 years agoRemove UFN man pages
Kurt Zeilenga [Mon, 11 Jun 2001 20:32:58 +0000 (20:32 +0000)]
Remove UFN man pages