]> git.sur5r.net Git - openldap/log
openldap
25 years agoPatch modrdn to remove extra space.
Kurt Zeilenga [Tue, 9 Feb 1999 17:58:13 +0000 (17:58 +0000)]
Patch modrdn to remove extra space.

25 years agoAdd a field to count the number of databases per type (bi_nDB) to
Kurt Zeilenga [Tue, 9 Feb 1999 17:41:56 +0000 (17:41 +0000)]
Add a field to count the number of databases per type (bi_nDB) to
the backend type info structure.  Use this filed to control open
and close such that backend's without databases are skipped.

25 years agoFix text2time to handle 4 digit years. Fix YEAR() to handle
Kurt Zeilenga [Tue, 9 Feb 1999 06:31:34 +0000 (06:31 +0000)]
Fix text2time to handle 4 digit years.  Fix YEAR() to handle
tm_year being 100+.

25 years agoDetect pthread_detach using #include <pthread.h> (using AC_TRY_LINK)
Kurt Zeilenga [Mon, 8 Feb 1999 22:54:40 +0000 (22:54 +0000)]
Detect pthread_detach using #include <pthread.h> (using AC_TRY_LINK)
instead of AC_CHECK_FUNCS() as symbol may be mangled.

25 years agoInclude pthread.h in pthread AC_TRY_LINK tests.
Kurt Zeilenga [Mon, 8 Feb 1999 21:46:46 +0000 (21:46 +0000)]
Include pthread.h in pthread AC_TRY_LINK tests.

25 years agoUpdate autoconf version requirement comment.
Kurt Zeilenga [Mon, 8 Feb 1999 20:22:59 +0000 (20:22 +0000)]
Update autoconf version requirement comment.

25 years agoFixup BDB2 switching. Use 'test' instead of '['. Use '=' instead of '=='.
Kurt Zeilenga [Mon, 8 Feb 1999 20:08:25 +0000 (20:08 +0000)]
Fixup BDB2 switching.  Use 'test' instead of '['.  Use '=' instead of '=='.
Use $BACKEND instead of BDB2.  Fallback to LDBM if $BACKEND is not BDB2.

25 years agoUpdate AC_TRY_LINK checks (mainly effects pthread detection).
Kurt Zeilenga [Mon, 8 Feb 1999 19:38:00 +0000 (19:38 +0000)]
Update AC_TRY_LINK checks (mainly effects pthread detection).

25 years agoDon't provide ldap.OpenLDAP.org and dc=OpenLDAP, dc=Org as the defaults.
Kurt Zeilenga [Mon, 8 Feb 1999 18:59:05 +0000 (18:59 +0000)]
Don't provide ldap.OpenLDAP.org and dc=OpenLDAP, dc=Org as the defaults.
Just use compiled in defaults.

25 years agoAdd "edit client configuration" & "edit server configuration" steps.
Kurt Zeilenga [Mon, 8 Feb 1999 18:52:42 +0000 (18:52 +0000)]
Add "edit client configuration" & "edit server configuration" steps.

25 years agoPort Ksp's BDB2 configure change to configure.in and regenerate configure.
Kurt Zeilenga [Mon, 8 Feb 1999 18:10:07 +0000 (18:10 +0000)]
Port Ksp's BDB2 configure change to configure.in and regenerate configure.

25 years agoIntegration of the BDB2 backend into the new init/startup/shutdown schema.
Kurt Spanier [Mon, 8 Feb 1999 11:42:14 +0000 (11:42 +0000)]
Integration of the BDB2 backend into the new init/startup/shutdown schema.
Integration into ./configure ( --enable-bdb2 ).
Adaptation of the test-suite ( 'make' -> ldbm; 'make bdb2-local' -> bdb2 ).
Minor fixes in slapd/libldbm.

25 years agoDrop the _s from the ldap_perror argument to be consistent with other
Kurt Zeilenga [Mon, 8 Feb 1999 04:07:49 +0000 (04:07 +0000)]
Drop the _s from the ldap_perror argument to be consistent with other
ldap commands.

25 years agoFix backend_destroy to call bi_destroy instead of bi_close
Kurt Zeilenga [Sun, 7 Feb 1999 18:24:05 +0000 (18:24 +0000)]
Fix backend_destroy to call bi_destroy instead of bi_close

25 years agoReally fix those reader/writer lock asserts...
Kurt Zeilenga [Sun, 7 Feb 1999 17:57:50 +0000 (17:57 +0000)]
Really fix those reader/writer lock asserts...

25 years agoFix cache asserts on entry writer locks.
Kurt Zeilenga [Sun, 7 Feb 1999 02:50:10 +0000 (02:50 +0000)]
Fix cache asserts on entry writer locks.

25 years agoMove SIGNAL() calls to main so that any thread can accept async
Kurt Zeilenga [Sat, 6 Feb 1999 16:00:00 +0000 (16:00 +0000)]
Move SIGNAL() calls to main so that any thread can accept async
signals aimed at the process.

25 years agoFix no backend type case in backend_init.
Kurt Zeilenga [Sat, 6 Feb 1999 15:56:14 +0000 (15:56 +0000)]
Fix no backend type case in backend_init.

25 years agoreplace "ln -sf" with $(LN_S).
Kurt Zeilenga [Sat, 6 Feb 1999 00:00:49 +0000 (00:00 +0000)]
replace "ln -sf"  with $(LN_S).

25 years agoDon't call idl_free() unless necessary.
Kurt Zeilenga [Fri, 5 Feb 1999 23:46:03 +0000 (23:46 +0000)]
Don't call idl_free() unless necessary.

25 years agoremove ;; typo
Kurt Zeilenga [Fri, 5 Feb 1999 17:39:38 +0000 (17:39 +0000)]
remove ;; typo

25 years agoIntroduction of a new Berkeley DB version 2 (!) specific backend.
Kurt Spanier [Fri, 5 Feb 1999 16:23:03 +0000 (16:23 +0000)]
Introduction of a new Berkeley DB version 2 (!) specific backend.
BEWARE: the backend will be compiled.
        the backend will NOT be invoked, yet.
        the backend CANNOT be invoked, yet, because it is NOT yet
            integrated into the new initialization/startup environment
            of the slapd server.

25 years agoFix braindead signal handling in linux kernal threads.
Kurt Spanier [Fri, 5 Feb 1999 13:20:57 +0000 (13:20 +0000)]
Fix braindead signal handling in linux kernal threads.
  First version with waiting on int to become 0; should be implemented
  via conditional variable...
Fix of typos.
First anchor for new bdb2 backend.

25 years agoNew Frontend->Backend Interface
Kurt Zeilenga [Fri, 5 Feb 1999 09:03:47 +0000 (09:03 +0000)]
New Frontend->Backend Interface
Separates per backend type from per backend database initialization
and startup.  Also supports per type / per backend shutdown.
New frontend startup/shutdown routines are also provided:
slap_init() slap_startup() slap_shutdown() slap_destroy()
New frontend->backend startup/shutdown is managed by:
backend_init() backend_startup() backend_shutdown backend_destroy
backend_init() now calls bi_init() to initial all function pointers
for the backend (excepting bi_init() which is now the only hardcoded
entry point).  New entry points are detailed in slap.h struct
backend_info.  backend_info is a per database type structure.
Besides the new startup/shutdown entry points, the new interface
also supports per backend type configuration options.  One could have:

backend bdb2 (new Berkeley DB 2 backend)
bdb2_home /directory

database bdb2
...

*** This code is fairly experimental ***
*** Much cleanup and testing is still needed ***

see slap.h for details on struct backend_db and backend_info.

25 years agoInternet drafts associated with LDAP alias change changelog implementation.
Will Ballantyne [Fri, 5 Feb 1999 06:59:25 +0000 (06:59 +0000)]
Internet drafts associated with LDAP alias change changelog implementation.

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.