]> git.sur5r.net Git - openldap/log
openldap
25 years agoFix --disable-ldbm... missing CR-LF escape in argument verification.
Kurt Zeilenga [Thu, 4 Feb 1999 23:09:35 +0000 (23:09 +0000)]
Fix --disable-ldbm... missing CR-LF escape in argument verification.

25 years agoBuild environment changes including:
Kurt Zeilenga [Thu, 4 Feb 1999 21:54:38 +0000 (21:54 +0000)]
Build environment changes including:
Kerberos detection of des_debug
detection of resolv.h and arpa/nameserv.h
Updated affected codes.

25 years agoNeed KRB_LIBS to link test programs.
Kurt Zeilenga [Thu, 4 Feb 1999 19:21:04 +0000 (19:21 +0000)]
Need KRB_LIBS to link test programs.

25 years agoFix forkandexec() prototype.
Kurt Zeilenga [Thu, 4 Feb 1999 19:01:21 +0000 (19:01 +0000)]
Fix forkandexec() prototype.

25 years agoadditional checks around derefAlias_r call:
Will Ballantyne [Thu, 4 Feb 1999 18:55:58 +0000 (18:55 +0000)]
additional checks around derefAlias_r call:
check for alias problem
check for alias != entry
check for null entry in subsequent switch statement

25 years agoFix mutex initialization. new init function only has one argument.
Kurt Zeilenga [Thu, 4 Feb 1999 18:20:26 +0000 (18:20 +0000)]
Fix mutex initialization.  new init function only has one argument.

25 years agoFix XXDIR to use $(srcdir) so that VPATH works.
Kurt Zeilenga [Thu, 4 Feb 1999 18:13:51 +0000 (18:13 +0000)]
Fix XXDIR to use $(srcdir) so that VPATH works.

25 years agoFix dbcache/entry lock deadlock. If dbcache lock is held, it's
Kurt Zeilenga [Thu, 4 Feb 1999 18:00:50 +0000 (18:00 +0000)]
Fix dbcache/entry lock deadlock.  If dbcache lock is held, it's
okay to read and write LDBM specific fields (state, refcnt,
LRU.  The id field, though is read-only once set.
cache_find_entry_dn2id(), hence, does not require any entry locks.
cache_find_entry_id() must do a entry_rdwr_trylock() and back
off if busy.
Add new rdwr lock code with trylock() functionality.
Implement entry_rdwr_trylock().

25 years agoMinor fixes to complete backout of initialization/startup changes.
Kurt Zeilenga [Thu, 4 Feb 1999 17:45:59 +0000 (17:45 +0000)]
Minor fixes to complete backout of initialization/startup changes.

25 years agoBackout recent init/startup changes in preparation for new
Kurt Zeilenga [Thu, 4 Feb 1999 17:41:19 +0000 (17:41 +0000)]
Backout recent init/startup changes in preparation for new
frontend-backend interface.
Includes a number changes to share common routines between
database api types.

25 years agoBackout recent initialization/startup changes in preparation for
Kurt Zeilenga [Thu, 4 Feb 1999 17:36:06 +0000 (17:36 +0000)]
Backout recent initialization/startup changes in preparation for
new frontend-backend interface.

25 years agoBackout recent initialization/startup changes in prep for new
Kurt Zeilenga [Thu, 4 Feb 1999 17:33:46 +0000 (17:33 +0000)]
Backout recent initialization/startup changes in prep for new
frontend->backend interface.

25 years agoBackout startup/initialization changes in preparation for new
Kurt Zeilenga [Thu, 4 Feb 1999 17:28:49 +0000 (17:28 +0000)]
Backout startup/initialization changes in preparation for new
frontend->backend interface.

25 years agoRemove rwlock diag messages.
Kurt Zeilenga [Thu, 4 Feb 1999 17:24:26 +0000 (17:24 +0000)]
Remove rwlock diag messages.

25 years agoUse LDAP_ALIAS_DEREF_PROBLEM for all problem dereferencing aliases.
Kurt Zeilenga [Thu, 4 Feb 1999 17:23:34 +0000 (17:23 +0000)]
Use LDAP_ALIAS_DEREF_PROBLEM for all problem dereferencing aliases.
LDAP_ALIAS_PROBLEM is now only used if the alias itself is mangled.

25 years agoFix DB_ENV typo.
Kurt Zeilenga [Thu, 4 Feb 1999 05:14:38 +0000 (05:14 +0000)]
Fix DB_ENV typo.

25 years agoinserted additional checks for null values, comments
Will Ballantyne [Thu, 4 Feb 1999 00:21:57 +0000 (00:21 +0000)]
inserted additional checks for null values, comments
fixed deadlocks

25 years agoAnother concurrency typo.
Kurt Zeilenga [Wed, 3 Feb 1999 18:32:25 +0000 (18:32 +0000)]
Another concurrency typo.

25 years agoFix set concurrency typos.
Kurt Zeilenga [Wed, 3 Feb 1999 18:29:27 +0000 (18:29 +0000)]
Fix set concurrency typos.

25 years agoupdate pthread comment.
Kurt Zeilenga [Wed, 3 Feb 1999 17:22:22 +0000 (17:22 +0000)]
update pthread comment.

25 years agoUse idl_fetch_one() to fetch single id_blocks instead of separate
Kurt Zeilenga [Wed, 3 Feb 1999 17:14:01 +0000 (17:14 +0000)]
Use idl_fetch_one() to fetch single id_blocks instead of separate
ldbm_cache_fetch() codes.

25 years agoFix typo in LDAP_LIBAVL_DEPEND
Kurt Spanier [Wed, 3 Feb 1999 13:05:10 +0000 (13:05 +0000)]
Fix typo in LDAP_LIBAVL_DEPEND

25 years agoFix double free of filter when bad.
Kurt Zeilenga [Wed, 3 Feb 1999 05:51:42 +0000 (05:51 +0000)]
Fix double free of filter when bad.

25 years agoFix slapd/tool dependencies on libraries.
Kurt Zeilenga [Wed, 3 Feb 1999 05:25:04 +0000 (05:25 +0000)]
Fix slapd/tool dependencies on libraries.

25 years agoPlug leak of datum. Should be freed after use.
Kurt Zeilenga [Wed, 3 Feb 1999 05:00:41 +0000 (05:00 +0000)]
Plug leak of datum.  Should be freed after use.

25 years agoFix ALLIDS bugs
Kurt Zeilenga [Wed, 3 Feb 1999 04:45:08 +0000 (04:45 +0000)]
Fix ALLIDS bugs
Fix memory leaks

25 years agoGot that logic backwards...
Kurt Zeilenga [Wed, 3 Feb 1999 03:50:11 +0000 (03:50 +0000)]
Got that logic backwards...

25 years agoUpdate AC_DEFINES to use autoconf 1.3 descriptions.
Kurt Zeilenga [Wed, 3 Feb 1999 01:05:41 +0000 (01:05 +0000)]
Update AC_DEFINES to use autoconf 1.3 descriptions.
Update acconfig.h to use @TOP@ and @BOTTOM@ to rid ourselves of
the .top/.bot files.

25 years agofirst arg of ldbm_db_errcall could be a const char * instead of char *.
Kurt Zeilenga [Tue, 2 Feb 1999 23:15:45 +0000 (23:15 +0000)]
first arg of ldbm_db_errcall could be a const char * instead of char *.

25 years agoDon't try to free NULL idl. Did not cause a problem, though, as
Kurt Zeilenga [Tue, 2 Feb 1999 22:46:21 +0000 (22:46 +0000)]
Don't try to free NULL idl.  Did not cause a problem, though, as
idl_free() had insurance.

25 years agoFix typo suggested by Heiko W.Rupp in ITS#63
Kurt Zeilenga [Tue, 2 Feb 1999 20:38:45 +0000 (20:38 +0000)]
Fix typo suggested by Heiko W.Rupp in ITS#63

25 years agogdbm_nextkey() takes two arguments not one.
Kurt Zeilenga [Tue, 2 Feb 1999 20:36:10 +0000 (20:36 +0000)]
gdbm_nextkey() takes two arguments not one.

25 years agoHack up a quick bandaid to make things compile. Startup/Initialization
Kurt Zeilenga [Tue, 2 Feb 1999 19:26:00 +0000 (19:26 +0000)]
Hack up a quick bandaid to make things compile.  Startup/Initialization
needs work.

25 years agoFix statlog... debugging change got commit by mistake.
Kurt Zeilenga [Tue, 2 Feb 1999 14:06:23 +0000 (14:06 +0000)]
Fix statlog... debugging change got commit by mistake.

25 years agoRemove config.status dependencies as most folks do not have latest
Kurt Zeilenga [Tue, 2 Feb 1999 13:59:42 +0000 (13:59 +0000)]
Remove config.status dependencies as most folks do not have latest
autoconf/automake environment and should always use provided configure.

25 years agoAdded startup/shutdown routine for slapd back-ends.
Kurt Spanier [Tue, 2 Feb 1999 08:03:03 +0000 (08:03 +0000)]
Added startup/shutdown routine for slapd back-ends.

25 years agoEven more pthread changes for Digital UNIX...
Kurt Zeilenga [Tue, 2 Feb 1999 04:23:37 +0000 (04:23 +0000)]
Even more pthread changes for Digital UNIX...

25 years agoAdd a few comments to help detail some of these functions.
Kurt Zeilenga [Tue, 2 Feb 1999 03:40:19 +0000 (03:40 +0000)]
Add a few comments to help detail some of these functions.

25 years agoFix idl_firstid to return NOID when !(nids > 1) instead of when (nids == 1)
Kurt Zeilenga [Tue, 2 Feb 1999 02:46:18 +0000 (02:46 +0000)]
Fix idl_firstid to return NOID when !(nids > 1) instead of when (nids == 1)
Fix idl_nextid not to skip an ID if ID not in list.
Both of these should not occur if used correctly, but cheap insurance
against incorrect usage is welcomed.

25 years agoAdded addition pthread checks for Digital UNIX (OSF/1).
Kurt Zeilenga [Mon, 1 Feb 1999 23:54:31 +0000 (23:54 +0000)]
Added addition pthread checks for Digital UNIX (OSF/1).
Added comment with order of checks.

25 years agoAdded --enable-bdb2 for Ksp's Berkeley DB 2 specific slapd backend.
Kurt Zeilenga [Mon, 1 Feb 1999 22:19:42 +0000 (22:19 +0000)]
Added --enable-bdb2 for Ksp's Berkeley DB 2 specific slapd backend.
Supports 'yes', 'no' (default), and 'auto'.

25 years agoIntroduction of a backend startup/shutdown function to make backend-specific
Kurt Spanier [Mon, 1 Feb 1999 17:37:43 +0000 (17:37 +0000)]
Introduction of a backend startup/shutdown function to make backend-specific
initialization after reading slapd.conf, and before starting the daemon

25 years agoAdd ac/sysexits.h for GNU win32 environments.
Kurt Zeilenga [Mon, 1 Feb 1999 02:47:39 +0000 (02:47 +0000)]
Add ac/sysexits.h for GNU win32 environments.
Fix LDAP_API_VENDOR_VERSION -> LDAP_VENDOR_VERSION bug

25 years agoAdd EXEEXT/OBJEXT for GNU win32 environments.
Kurt Zeilenga [Mon, 1 Feb 1999 02:17:17 +0000 (02:17 +0000)]
Add EXEEXT/OBJEXT for GNU win32 environments.
Add AWK for mkdep.

25 years agoUse the following macros in preparation for GNU win32 support.
Kurt Zeilenga [Mon, 1 Feb 1999 02:06:36 +0000 (02:06 +0000)]
Use the following macros in preparation for GNU win32 support.
AC_CYGWIN AC_MINGW32 AC_EXEEXT AC_OBJEXT

25 years agoRebuild configure using autoconf 1.3 (with aclocal from automake 1.4).
Kurt Zeilenga [Mon, 1 Feb 1999 01:36:42 +0000 (01:36 +0000)]
Rebuild configure using autoconf 1.3  (with aclocal from automake 1.4).

25 years agoRewrite IDL block code to use simple array and accessor macros
Kurt Zeilenga [Sun, 31 Jan 1999 07:55:53 +0000 (07:55 +0000)]
Rewrite IDL block code to use simple array and accessor macros
instead of array with overlayed struct fields.  (which is inherently
non-portable).
Change maxid check in insert to be greater than or equal instead
of equal.
Use SAFEMEMCPY.

25 years agohave --enable-dns imply --enable-referrals. If --disable-referrals, error.
Kurt Zeilenga [Sun, 31 Jan 1999 01:55:39 +0000 (01:55 +0000)]
have --enable-dns imply --enable-referrals.  If --disable-referrals, error.

25 years agoFix ldap_send_initial_request() to open connection if not already
Kurt Zeilenga [Sun, 31 Jan 1999 01:09:00 +0000 (01:09 +0000)]
Fix ldap_send_initial_request() to open connection if not already
openned (by ldap_open()).  This allows ldap_init() to function
properly!

25 years agozap ber buf pointer on free.
Kurt Zeilenga [Fri, 29 Jan 1999 06:07:02 +0000 (06:07 +0000)]
zap ber buf pointer on free.

25 years agoAdd (back in) destroy functions...
Kurt Zeilenga [Fri, 29 Jan 1999 06:05:18 +0000 (06:05 +0000)]
Add (back in) destroy functions...

25 years agoAdd cond/rdwr destroy routines.
Kurt Zeilenga [Fri, 29 Jan 1999 05:52:40 +0000 (05:52 +0000)]
Add cond/rdwr destroy routines.

25 years agoDon't leak slap_op when op not in list.
Kurt Zeilenga [Fri, 29 Jan 1999 05:46:12 +0000 (05:46 +0000)]
Don't leak slap_op when op not in list.
Don't leak abandon mutex.
Use ch_malloc and friends.

25 years agoldap_sort_entries() should try to malloc(0) when the count is zero.
Kurt Zeilenga [Fri, 29 Jan 1999 03:56:18 +0000 (03:56 +0000)]
ldap_sort_entries() should try to malloc(0) when the count is zero.
should also return error in ldap_count_entries returns an error.

25 years agoldap_pvt_thread_cond_broadcast() was missing from stubs.
Kurt Zeilenga [Thu, 28 Jan 1999 23:40:26 +0000 (23:40 +0000)]
ldap_pvt_thread_cond_broadcast() was missing from stubs.
I probably deleted it by mistaked when axing cond attrs.

25 years agoFix lthread depend.
Kurt Zeilenga [Thu, 28 Jan 1999 22:27:19 +0000 (22:27 +0000)]
Fix lthread depend.

25 years agoAdd dn_rdn() function to return rdn part of dn.
Kurt Zeilenga [Thu, 28 Jan 1999 21:40:04 +0000 (21:40 +0000)]
Add dn_rdn() function to return rdn part of dn.

25 years agoMake sure e_ndn is used!
Kurt Zeilenga [Thu, 28 Jan 1999 17:32:59 +0000 (17:32 +0000)]
Make sure e_ndn is used!

25 years agoUse -lldap_r instead of -lldap -lthread.
Kurt Zeilenga [Thu, 28 Jan 1999 04:34:55 +0000 (04:34 +0000)]
Use -lldap_r instead of -lldap -lthread.
Likely broke things for non-posix threadings....

Update -lldap_r implementation to:
remove attribute support
hide thread detachment
provide concurrency accessors
provide initialization function
fix gethostby{addr,name}_r codes (not coverred by HAVE_REENTRANT_FUNCTIONS)
Update servers/libraries to use ldap_pvt_thread_ calls.
Cleanup server codes (no #ifdef HAVE_PTHREAD_THIS or _THATs)!
Removed -llthread

25 years agoUpdate misleading statement about ldap_init(). It use is actually
Kurt Zeilenga [Thu, 28 Jan 1999 01:23:04 +0000 (01:23 +0000)]
Update misleading statement about ldap_init().  It use is actually
preferred.  ldap_open is to be depreciated.

25 years agoFix PHREAD typo.
Kurt Zeilenga [Wed, 27 Jan 1999 22:42:30 +0000 (22:42 +0000)]
Fix PHREAD typo.

25 years agoFixup begin/end declaration tags
Kurt Zeilenga [Wed, 27 Jan 1999 21:11:55 +0000 (21:11 +0000)]
Fixup begin/end declaration tags
Assume portable.h has been included
Include ldap_cdefs.h at the top.

25 years agofix suffix alias compare in config.c, logic was reversed. The suffix alias
Will Ballantyne [Wed, 27 Jan 1999 04:58:02 +0000 (04:58 +0000)]
fix suffix alias compare in config.c, logic was reversed.  The suffix alias
is now ignored if it is the same as the real suffix.

25 years agoLDBM/back-ldbm locking reworked!
Kurt Zeilenga [Tue, 26 Jan 1999 20:55:54 +0000 (20:55 +0000)]
LDBM/back-ldbm locking reworked!
back-ldbm was using a cache specific lock to protect non-reentrant
database routines from being reenterred.  This is inadequate.
Also, reentrant database systems calls were serialized unnecessarily.

Non-reentrant database calls must have a big_mutex.  Implemented
this within -lldbm itself.  library requires ldbm_initialize()
be called before any other ldbm call to initialize the big_mutex
and to do any other db specific initialization (ie: such as
required for DB2).

The dbc_mutex, dbc_cv, & dbc_readers fileds of dbcache are history.
The "reentrant_database" (REENTRANT_DATABASE) define is also axed.

25 years agoFix mkdep to split lines with multiple dependencies.
Kurt Zeilenga [Tue, 26 Jan 1999 20:27:25 +0000 (20:27 +0000)]
Fix mkdep to split lines with multiple dependencies.

25 years agoHide allocate of reentrant_database cond varible and reader count
Kurt Zeilenga [Tue, 26 Jan 1999 17:23:50 +0000 (17:23 +0000)]
Hide allocate of reentrant_database cond varible and reader count
behind REENTRANT_DATABASE.  rename reentrant_database -> REENTRANT_DATABASE.
When REENTRANT_DATABASE is defined, the simple lock is replaced
with a simple reader/writer lock.  This functionality should be removed
from back-ldbm to libldbm.

25 years agocache_set_state( cache, e, 0) cannot occur before lock on parent/root
Kurt Zeilenga [Tue, 26 Jan 1999 05:22:58 +0000 (05:22 +0000)]
cache_set_state( cache, e, 0) cannot occur before lock on parent/root
is released.  Some other thread may have cache locked but blocking
on parent.  Must give up parent lock before acquiring cache lock.

25 years agoChange o_private from int to void*. Use it to hold a pid_t (and hope it fits).
Kurt Zeilenga [Tue, 26 Jan 1999 04:32:26 +0000 (04:32 +0000)]
Change o_private from int to void*.  Use it to hold a pid_t (and hope it fits).
Have forkandexec() return pid_t instead of int.

25 years agoAdd lber_pvt.h with prototypes of lber_pvt_log_print{,f}.
Kurt Zeilenga [Tue, 26 Jan 1999 01:21:35 +0000 (01:21 +0000)]
Add lber_pvt.h with prototypes of lber_pvt_log_print{,f}.
Ripple name change through -llber & -lldap.
Update -lldif to use lber_pvt_log_printf() instead of Debug.

25 years agoAdd lber_log_print support to libldap.
Kurt Zeilenga [Tue, 26 Jan 1999 00:27:51 +0000 (00:27 +0000)]
Add lber_log_print support to libldap.
Redefine Debug macro to call ldap_log_printf(NULL, lvl, fmt, ...)
Should replace each Debug statement with direct call to ldap_log_printf
passing LDAP session if available.

25 years agoadd ldap_cdef'ing.
Kurt Zeilenga [Tue, 26 Jan 1999 00:04:01 +0000 (00:04 +0000)]
add ldap_cdef'ing.

25 years agoAdd support for LBER_OPT_LOG_PRINT_FN option.
Kurt Zeilenga [Mon, 25 Jan 1999 22:55:00 +0000 (22:55 +0000)]
Add support for LBER_OPT_LOG_PRINT_FN option.

25 years agoMove install.sh to install-sh. install.sh name may cause problems
Kurt Zeilenga [Mon, 25 Jan 1999 02:30:58 +0000 (02:30 +0000)]
Move install.sh to install-sh.  install.sh name may cause problems
with some 'make' programs that have a rule to create 'install' from
it there is no 'Makefile'.  (per autoconf 2.12).

25 years agoAdd pidfile/argsfile options to default slapd.conf.
Kurt Zeilenga [Sun, 24 Jan 1999 21:20:00 +0000 (21:20 +0000)]
Add pidfile/argsfile options to default slapd.conf.

25 years agoUpdate docs with references to appropriate FAQ-O-Matic pages.
Kurt Zeilenga [Sun, 24 Jan 1999 02:11:45 +0000 (02:11 +0000)]
Update docs with references to appropriate FAQ-O-Matic pages.

25 years agoMinor cleanup of various detections...
Kurt Zeilenga [Sun, 24 Jan 1999 01:33:22 +0000 (01:33 +0000)]
Minor cleanup of various detections...

25 years agoForgotten commit of string rearrangement.
Kurt Zeilenga [Sun, 24 Jan 1999 01:32:04 +0000 (01:32 +0000)]
Forgotten commit of string rearrangement.

25 years agoincorrect args to tcpd statslog
Kurt Zeilenga [Sun, 24 Jan 1999 01:29:23 +0000 (01:29 +0000)]
incorrect args to tcpd statslog

25 years agoForgot to add new string.c.
Kurt Zeilenga [Sun, 24 Jan 1999 01:07:52 +0000 (01:07 +0000)]
Forgot to add new string.c.

25 years agoReal fix for FreeBSD 4.
Kurt Zeilenga [Sat, 23 Jan 1999 20:39:45 +0000 (20:39 +0000)]
Real fix for FreeBSD 4.

25 years agoAdd support for Freebsd 4.x (and greater)
Kurt Zeilenga [Sat, 23 Jan 1999 20:29:02 +0000 (20:29 +0000)]
Add support for Freebsd 4.x (and greater)

25 years agodn_parent(" ") should be NULL.
Kurt Zeilenga [Sat, 23 Jan 1999 19:34:02 +0000 (19:34 +0000)]
dn_parent(" ") should be NULL.

25 years agoIf dn2id returns ID but id2entry returns NULL, log it.
Kurt Zeilenga [Sat, 23 Jan 1999 19:33:53 +0000 (19:33 +0000)]
If dn2id returns ID but id2entry returns NULL, log it.
Assume entry was deleted from underneath the dn2entry call,  hence
processing is same as if NOID had been returned.

25 years agoRemove configure's wait3 test as we don't care about the rusage.
Kurt Zeilenga [Sat, 23 Jan 1999 04:03:43 +0000 (04:03 +0000)]
Remove configure's wait3 test as we don't care about the rusage.
Rewrite all child waits to use wait4 (for consistency only).

25 years agoAdd LDAP_API_FEATURE_X_OPENLDAP to imply this implementation
Kurt Zeilenga [Sat, 23 Jan 1999 03:39:06 +0000 (03:39 +0000)]
Add LDAP_API_FEATURE_X_OPENLDAP to imply this implementation
has OpenLDAP extensions.  (This may be defined on non-OpenLDAP
implmentations that implement features of our API).
The extensions implied by this flag are TBD.

25 years agoAdd memory handling todo.
Kurt Zeilenga [Fri, 22 Jan 1999 20:46:57 +0000 (20:46 +0000)]
Add memory handling todo.

25 years agoUse strtok_r() instead of strtok(). Remove strtok mutex!
Kurt Zeilenga [Fri, 22 Jan 1999 04:46:54 +0000 (04:46 +0000)]
Use strtok_r() instead of strtok().  Remove strtok mutex!

25 years agoMove libldap/strdup.c to string.c.
Kurt Zeilenga [Fri, 22 Jan 1999 04:33:29 +0000 (04:33 +0000)]
Move libldap/strdup.c to string.c.
libldap/string.c will hold various string.h replacements.
Removed liblutil/strdup.c
Moved ldap_pvt_strtok to string.c.
Moved prototype of ldap_pvt_strtok to <ac/string.h>.
Added #define strtok_r ldap_pvt_strtok (if strtok_r doesn't exist).

25 years agoFix minor typo in lthread.h (which was copied into ldap_pvt_thread.h).
Kurt Zeilenga [Fri, 22 Jan 1999 03:48:31 +0000 (03:48 +0000)]
Fix minor typo in lthread.h (which was copied into ldap_pvt_thread.h).

25 years agoImplement NEXTID chunking. Obtain IDs in chunks of size
Kurt Zeilenga [Fri, 22 Jan 1999 02:26:19 +0000 (02:26 +0000)]
Implement NEXTID chunking.  Obtain IDs in chunks of size
SLAPD_NEXTID_CHUNK.  Code protects NEXTID file to ensure
its equal to or greater than nextid.  Updated on close
to actual nextid.  next_id_save() could be called periodically
if desired.  Default chunk size is 32.  Define to 1 to disable
chunking.

25 years agoinitialize nextid with NOID not -1.
Kurt Zeilenga [Fri, 22 Jan 1999 01:53:39 +0000 (01:53 +0000)]
initialize nextid with NOID not -1.

25 years agoDon't return nextid on failed add operations for safety.
Kurt Zeilenga [Fri, 22 Jan 1999 01:51:53 +0000 (01:51 +0000)]
Don't return nextid on failed add operations for safety.

25 years agoThat last error message did not apply to actual changes committed
Kurt Zeilenga [Fri, 22 Jan 1999 01:44:46 +0000 (01:44 +0000)]
That last error message did not apply to actual changes committed
for this file.  Changes were to NULL the conn->c_dn and conn->c_cdn
after anonymous binds.  Previously they were left to old values.
Backends should do the same.

25 years agonextid cleanup in preparation to disable next_id_return().
Kurt Zeilenga [Fri, 22 Jan 1999 01:40:39 +0000 (01:40 +0000)]
nextid cleanup in preparation to disable next_id_return().

25 years agoEntry must be locked before adding it to the cache.
Kurt Zeilenga [Fri, 22 Jan 1999 00:27:50 +0000 (00:27 +0000)]
Entry must be locked before adding it to the cache.
This removes a race condition upon the entry.

25 years agoAdd support for FreeBSD -kthread (kernel pthreads)
Kurt Zeilenga [Thu, 21 Jan 1999 22:25:33 +0000 (22:25 +0000)]
Add support for FreeBSD -kthread (kernel pthreads)

25 years agoDuring cleanup always unlock root_mutex if rootlock is true
Kurt Zeilenga [Thu, 21 Jan 1999 22:20:03 +0000 (22:20 +0000)]
During cleanup always unlock root_mutex if rootlock is true
(don't make it conditional on p == NULL)

25 years agoPlace the arg and pid files into the test-* directories.
Kurt Zeilenga [Thu, 21 Jan 1999 18:08:33 +0000 (18:08 +0000)]
Place the arg and pid files into the test-* directories.

25 years agoDefinition of slapd pid and args files as slapd.conf general parameters;
Kurt Spanier [Thu, 21 Jan 1999 15:53:54 +0000 (15:53 +0000)]
Definition of slapd pid and args files as slapd.conf general parameters;
introduction of pid/agrs parameters to the test-suite slapd.conf files;
creation of sub-directory test/var for storage of pid/args files during test;
update of the slapd and slapd.conf man pages.
(The change reduces dependency on ldapconfig.h, since SLAPD_PIDEXT
 and SLAPD_ARGSEXT are deleted from the code.)

25 years agoFix c_cdn typo. Ouch.
Kurt Zeilenga [Thu, 21 Jan 1999 02:25:09 +0000 (02:25 +0000)]
Fix c_cdn typo.  Ouch.