]> git.sur5r.net Git - openldap/log
openldap
25 years agoFix make clean/veryclean
Kurt Zeilenga [Tue, 2 Mar 1999 20:00:55 +0000 (20:00 +0000)]
Fix make clean/veryclean

25 years agoFix typo in previous commit.
Kurt Zeilenga [Tue, 2 Mar 1999 03:09:04 +0000 (03:09 +0000)]
Fix typo in previous commit.

25 years agoReplace IFP() with appropriate full prototypes:
Kurt Zeilenga [Tue, 2 Mar 1999 00:32:59 +0000 (00:32 +0000)]
Replace IFP() with appropriate full prototypes:
  AVL_CMP, AVL_DUP, AVL_FREE, AVL_APPLY.
Apply casts as needed.
Change data pointer from caddr_t to void *.

25 years agoUpdate NT port with support for -lldap_r and -lldbm.
Kurt Zeilenga [Mon, 1 Mar 1999 22:37:05 +0000 (22:37 +0000)]
Update NT port with support for -lldap_r and -lldbm.
Also add initial slapd .dsw/.dsp files.  Still needs work (mainly syslog).

25 years agoUse ldap_memfree() instead of free().
Kurt Zeilenga [Mon, 1 Mar 1999 21:17:48 +0000 (21:17 +0000)]
Use ldap_memfree() instead of free().

25 years agoFix HAVE_WINSOCK for winsock32.lib
Kurt Zeilenga [Mon, 1 Mar 1999 21:08:07 +0000 (21:08 +0000)]
Fix HAVE_WINSOCK for winsock32.lib

25 years agoUpdate libpath.
Kurt Zeilenga [Mon, 1 Mar 1999 21:07:10 +0000 (21:07 +0000)]
Update libpath.

25 years agoFix minor memory leak and remove redundant be_isroot_pw() checks.
Kurt Zeilenga [Mon, 1 Mar 1999 19:42:06 +0000 (19:42 +0000)]
Fix minor memory leak and remove redundant be_isroot_pw() checks.
Suggested by Pierangelo Masarati <pmasarati@bci.it> in post to -bugs.

25 years agoRebuild autoconf/autoheader generated files after TLS and gethostbyname_r
Kurt Zeilenga [Mon, 1 Mar 1999 18:55:52 +0000 (18:55 +0000)]
Rebuild autoconf/autoheader generated files after TLS and gethostbyname_r
changes.

25 years agoIntroduction of first version of transaction processing (TP) into BDB2.
Kurt Spanier [Mon, 1 Mar 1999 11:30:18 +0000 (11:30 +0000)]
Introduction of first version of transaction processing (TP) into BDB2.

25 years agoSyntax error on install, mistakenly commited before with wrong one
Ben Collins [Sun, 28 Feb 1999 18:47:07 +0000 (18:47 +0000)]
Syntax error on install, mistakenly commited before with wrong one

25 years agoFixed a small mistake in the last commit, as well as adding a clean-common to remove...
Ben Collins [Sun, 28 Feb 1999 17:08:54 +0000 (17:08 +0000)]
Fixed a small mistake in the last commit, as well as adding a clean-common to remove the tmp files

25 years agoAdded verclean-local-srv since veryclean was not being run in the back-* and related...
Ben Collins [Sun, 28 Feb 1999 17:07:47 +0000 (17:07 +0000)]
Added verclean-local-srv since veryclean was not being run in the back-* and related directories

25 years agoMoved man page generation to the build cycle instead of install
Ben Collins [Sun, 28 Feb 1999 16:10:37 +0000 (16:10 +0000)]
Moved man page generation to the build cycle instead of install

25 years agoChanged general debug levels too LDAP_DEBUG_SHELL
Ben Collins [Sun, 28 Feb 1999 05:55:48 +0000 (05:55 +0000)]
Changed general debug levels too LDAP_DEBUG_SHELL

25 years agoPatch to support to determine the number of args of the
Bart Hartgers [Thu, 25 Feb 1999 13:07:27 +0000 (13:07 +0000)]
Patch to support to determine the number of args of the
gethostby{name,addr}_r functions.
Contributed by Juan Carlos Gomes IT#68 (apparently).

Also includes support for detecting ssleay in configure.in.

25 years agoFix previous change to strtok_quote
Hallvard Furuseth [Tue, 23 Feb 1999 15:48:47 +0000 (15:48 +0000)]
Fix previous change to strtok_quote

25 years agoMake strtok_quote treat the character following \ as a normal character.
Hallvard Furuseth [Tue, 23 Feb 1999 15:40:18 +0000 (15:40 +0000)]
Make strtok_quote treat the character following \ as a normal character.

25 years agoChanged LDA_DEBUG_ statements to more appropriate ones
Ben Collins [Tue, 23 Feb 1999 03:51:33 +0000 (03:51 +0000)]
Changed LDA_DEBUG_ statements to more appropriate ones

25 years agoAdd locale support (slapd.conf keyword "locale") to slapd if HAVE_LOCALE_H
Hallvard Furuseth [Mon, 22 Feb 1999 21:01:24 +0000 (21:01 +0000)]
Add locale support (slapd.conf keyword "locale") to slapd if HAVE_LOCALE_H

25 years agoCast `char' arguments to ctype.h functions to `unsigned char'.
Hallvard Furuseth [Mon, 22 Feb 1999 19:29:42 +0000 (19:29 +0000)]
Cast `char' arguments to ctype.h functions to `unsigned char'.
These functions require their arguments to be in the range of `unsigned char'.

25 years agoCast `char' arguments to ctype.h functions to `unsigned char'.
Hallvard Furuseth [Mon, 22 Feb 1999 17:57:22 +0000 (17:57 +0000)]
Cast `char' arguments to ctype.h functions to `unsigned char'.
These functions require their arguments to be in the range of `unsigned char'.

25 years agoClient programs for test008-concurrency moved to subdir tests/progs.
Kurt Spanier [Mon, 22 Feb 1999 11:28:01 +0000 (11:28 +0000)]
Client programs for test008-concurrency moved to subdir tests/progs.
Building tests/progs/*.c in the main build process.
==> Test-suite must be called by 'make test', or 'make test-bdb2'

25 years agoMore timing for performance testing. Re-introduction of cache.c_mutex.
Kurt Spanier [Mon, 22 Feb 1999 11:22:44 +0000 (11:22 +0000)]
More timing for performance testing. Re-introduction of cache.c_mutex.

25 years agoCheck for pthread with -mt (for Solaris 2.x).
Kurt Zeilenga [Sun, 21 Feb 1999 00:46:57 +0000 (00:46 +0000)]
Check for pthread with -mt (for Solaris 2.x).
Still requires user to workaround Solaris pthread_create in -lc issue.

25 years agoUse ldap_pvt_strtok directly and unconditionally.
Kurt Zeilenga [Sat, 20 Feb 1999 20:12:03 +0000 (20:12 +0000)]
Use ldap_pvt_strtok directly and unconditionally.
Implementation no longer uses strtok_r(), it may be broken
or have an odd prototype.
Update configure not to check for strtok/strtok_r nor require
strtok_r to LDAP_API_FEATURE_X_OPENLDAP_REENTRANT.

25 years agoRemaining LDAP_COMPILING_R should be LDAP_R_COMPILE.
Kurt Zeilenga [Sat, 20 Feb 1999 18:33:24 +0000 (18:33 +0000)]
Remaining LDAP_COMPILING_R should be LDAP_R_COMPILE.

25 years ago#undef symbols before #defining them. This provides a little protection
Kurt Zeilenga [Sat, 20 Feb 1999 18:31:56 +0000 (18:31 +0000)]
#undef symbols before #defining them.  This provides a little protection
when symbol being replaced was defined as a macro.

25 years agofix TOLOWER, it was equal to TOUPPER
Hallvard Furuseth [Sat, 20 Feb 1999 16:22:10 +0000 (16:22 +0000)]
fix TOLOWER, it was equal to TOUPPER

25 years agowrap bi_acl_group in #ifdef SLAPD_ACLGROUPS
Hallvard Furuseth [Sat, 20 Feb 1999 08:53:48 +0000 (08:53 +0000)]
wrap bi_acl_group in #ifdef SLAPD_ACLGROUPS

25 years agoread_config() did not return a value
Hallvard Furuseth [Sat, 20 Feb 1999 08:18:07 +0000 (08:18 +0000)]
read_config() did not return a value

25 years agocast avl_free argument to IFP
Hallvard Furuseth [Sat, 20 Feb 1999 08:16:33 +0000 (08:16 +0000)]
cast avl_free argument to IFP

25 years agoisblank() is nonstandard, use isspace()
Hallvard Furuseth [Sat, 20 Feb 1999 08:15:21 +0000 (08:15 +0000)]
isblank() is nonstandard, use isspace()

25 years agocast pw_in to const unsigned char *
Hallvard Furuseth [Sat, 20 Feb 1999 08:13:35 +0000 (08:13 +0000)]
cast pw_in to const unsigned char *

25 years agoSilence libtool if `make -s' is running
Hallvard Furuseth [Sat, 20 Feb 1999 08:04:54 +0000 (08:04 +0000)]
Silence libtool if `make -s' is running

25 years agoAdd $CC_MKDEP_FLAGS to override -M
Hallvard Furuseth [Sat, 20 Feb 1999 07:53:29 +0000 (07:53 +0000)]
Add $CC_MKDEP_FLAGS to override -M

25 years agoslapd-tester should be ./slapd-tester
Hallvard Furuseth [Sat, 20 Feb 1999 07:49:12 +0000 (07:49 +0000)]
slapd-tester should be ./slapd-tester

25 years agoLink with all of $(LIBS) instead of $(LDAP_LIBPATH) $(XLIBS)
Hallvard Furuseth [Sat, 20 Feb 1999 07:39:48 +0000 (07:39 +0000)]
Link with all of $(LIBS) instead of $(LDAP_LIBPATH) $(XLIBS)

25 years agoConverted strdup()'s to ch_strdup()
Ben Collins [Fri, 19 Feb 1999 07:55:20 +0000 (07:55 +0000)]
Converted strdup()'s to ch_strdup()

25 years agoCode clean-up.
Kurt Spanier [Thu, 18 Feb 1999 15:33:15 +0000 (15:33 +0000)]
Code clean-up.

25 years ago* Removed uneeded cvs keywords
Ben Collins [Thu, 18 Feb 1999 02:18:39 +0000 (02:18 +0000)]
* Removed uneeded cvs keywords
* Fixed unfree'd 'char *results' in all tcl_* functions (only unfree'd in
  certain cases, moved the free to the actual function) so no more mem
  leaks. Tested this with over 500,000 access's for testing :)
* Miscellaneous source style and tabulation fixes

25 years agoElimination of entry- and cache-level locking in back-bdb2.
Kurt Spanier [Wed, 17 Feb 1999 11:13:22 +0000 (11:13 +0000)]
Elimination of entry- and cache-level locking in back-bdb2.
Slight adaption of concurrency-test to enable even more writers/readers.

25 years agoMissing file
Ben Collins [Wed, 17 Feb 1999 02:23:18 +0000 (02:23 +0000)]
Missing file

25 years agoStyle changes, added cvs keywords
Ben Collins [Wed, 17 Feb 1999 02:05:28 +0000 (02:05 +0000)]
Style changes, added cvs keywords

25 years agoUpdated some items
Ben Collins [Wed, 17 Feb 1999 02:04:54 +0000 (02:04 +0000)]
Updated some items

25 years agoCompleted open/close/destroy implementations
Ben Collins [Wed, 17 Feb 1999 02:02:11 +0000 (02:02 +0000)]
Completed open/close/destroy implementations

25 years agoImplemented the open, init functions correctly
Ben Collins [Wed, 17 Feb 1999 01:55:54 +0000 (01:55 +0000)]
Implemented the open, init functions correctly

25 years agoImplemented all of the (db_)destroy and (db_)close functions
Ben Collins [Wed, 17 Feb 1999 01:55:03 +0000 (01:55 +0000)]
Implemented all of the (db_)destroy and (db_)close functions

25 years agoMoved tcl_back_db_open() and interpreter init to tcl_init.c
Ben Collins [Wed, 17 Feb 1999 01:53:59 +0000 (01:53 +0000)]
Moved tcl_back_db_open() and interpreter init to tcl_init.c

25 years agoAdded return()
Ben Collins [Wed, 17 Feb 1999 00:32:49 +0000 (00:32 +0000)]
Added return()

25 years agofixed exit()'s to be return()'s
Ben Collins [Wed, 17 Feb 1999 00:30:36 +0000 (00:30 +0000)]
fixed exit()'s to be return()'s

25 years agokeyword update
Ben Collins [Wed, 17 Feb 1999 00:26:05 +0000 (00:26 +0000)]
keyword update

25 years ago$Id update
Ben Collins [Wed, 17 Feb 1999 00:24:40 +0000 (00:24 +0000)]
$Id update

25 years agoAdd ac/errno.h and use other generic headers when available.
Kurt Zeilenga [Tue, 16 Feb 1999 18:07:19 +0000 (18:07 +0000)]
Add ac/errno.h and use other generic headers when available.

25 years agoAddition of a new Concurrency Test fro testing slapd performance and
Kurt Spanier [Mon, 15 Feb 1999 10:49:20 +0000 (10:49 +0000)]
Addition of a new Concurrency Test fro testing slapd performance and
  correctness of locking schemas in backends.
In back-bdb2 open NEXTID during startup and close at shutdown.

25 years agoImport Ben Collins <bcollins@debian.org> Back-TCL for SLAPD.
Kurt Zeilenga [Sun, 14 Feb 1999 19:20:14 +0000 (19:20 +0000)]
Import Ben Collins <bcollins@debian.org> Back-TCL for SLAPD.

25 years agoA new file with some installation instructions...
Predrag "Pele" Balorda [Fri, 12 Feb 1999 23:56:56 +0000 (23:56 +0000)]
A new file with some installation instructions...

25 years agoUpdate to the README of gtk-tool
Predrag "Pele" Balorda [Fri, 12 Feb 1999 23:50:20 +0000 (23:50 +0000)]
Update to the README of gtk-tool

25 years agoU-MICH backward-compatibility fixes for gtk-tool and other minor fixes and cleanups
Predrag "Pele" Balorda [Fri, 12 Feb 1999 23:45:35 +0000 (23:45 +0000)]
U-MICH backward-compatibility fixes for gtk-tool and other minor fixes and cleanups

25 years agoBugFix and selection in the test-suite of the bdb2 backend-specific
Kurt Spanier [Fri, 12 Feb 1999 15:22:43 +0000 (15:22 +0000)]
BugFix and selection in the test-suite of the bdb2 backend-specific
slapd server timing via a new slapd command line option '-t'.

25 years agoServer timing as a private feature of the bdb2 backend.
Kurt Spanier [Fri, 12 Feb 1999 14:36:16 +0000 (14:36 +0000)]
Server timing as a private feature of the bdb2 backend.

25 years agoUpdate of back-bdb2 to KDZ's new entry lock schema.
Kurt Spanier [Fri, 12 Feb 1999 12:13:03 +0000 (12:13 +0000)]
Update of back-bdb2 to KDZ's new entry lock schema.
Fix of a back-bdb2 --> back-ldbm leakage (==> new bdb2-specific DB file suffix).

25 years agoprint.c doesn't belong in libldif.dsp.
Kurt Zeilenga [Thu, 11 Feb 1999 23:05:29 +0000 (23:05 +0000)]
print.c doesn't belong in libldif.dsp.

25 years agoForgot changes made in portable.h need to be imported back into portable.h.nt
Kurt Zeilenga [Thu, 11 Feb 1999 22:33:19 +0000 (22:33 +0000)]
Forgot changes made in portable.h need to be imported back into portable.h.nt

25 years agoUpdate features for MSVC 5.
Kurt Zeilenga [Thu, 11 Feb 1999 21:49:35 +0000 (21:49 +0000)]
Update features for MSVC 5.

25 years agoUpdate tools to print ID's using "%ld" instead of "%lu".
Kurt Zeilenga [Thu, 11 Feb 1999 21:26:57 +0000 (21:26 +0000)]
Update tools to print ID's using "%ld" instead of "%lu".

25 years agoUpdates for MSVC 5.0. Fix libraries names to be ol{ber,dap,..}32.lib.
Kurt Zeilenga [Thu, 11 Feb 1999 21:16:03 +0000 (21:16 +0000)]
Updates for MSVC 5.0.  Fix libraries names to be ol{ber,dap,..}32.lib.
Fix library/include paths for building "Release".
Create getpass() from ud's mygetpass().

25 years agoConsistently use %ld for printing IDs. %lu was used in many cases.
Kurt Zeilenga [Thu, 11 Feb 1999 18:19:52 +0000 (18:19 +0000)]
Consistently use %ld for printing IDs.   %lu was used in many cases.
I rather have NOID printed as "-1".  It it could argued that ID
should be signed.

25 years agoComplete entry_cmp() migration (remove rename macros).
Kurt Zeilenga [Thu, 11 Feb 1999 17:52:28 +0000 (17:52 +0000)]
Complete entry_cmp() migration (remove rename macros).

25 years agoUpdate LDBM cache so that it manages it's own state.
Kurt Zeilenga [Thu, 11 Feb 1999 17:46:56 +0000 (17:46 +0000)]
Update LDBM cache so that it manages it's own state.
cache_set_state() and state args are no history.
Move cache_entry_cmp() and friends to slapd/entry.c to allow sharing
of functions between backends..  Renamed to entry_cmp().

25 years agoPlace NeoSoft Inc. LDAP Tcl client code into OpenLDAP contrib tree.
Randy Kunkee [Wed, 10 Feb 1999 23:56:49 +0000 (23:56 +0000)]
Place NeoSoft Inc. LDAP Tcl client code into OpenLDAP contrib tree.

25 years agoUpdate README to reflect tested with 2.0-devel, not 1.1-devel.
Kurt Zeilenga [Wed, 10 Feb 1999 20:51:02 +0000 (20:51 +0000)]
Update README to reflect tested with 2.0-devel, not 1.1-devel.

25 years agoUpdate todo to contain "superior" objectclass project.
Kurt Zeilenga [Wed, 10 Feb 1999 19:54:27 +0000 (19:54 +0000)]
Update todo to contain "superior" objectclass project.

25 years agoMove LDBM-backend specific fields of Entry struct into a private struct.
Kurt Zeilenga [Wed, 10 Feb 1999 18:28:25 +0000 (18:28 +0000)]
Move LDBM-backend specific fields of Entry struct into a private struct.
The new e_private field can be used for any backend purpose.  In LDBM,
it's used to point th the private entry info struct.  The LDBM entry
info struct is only visible to the LDBM cache.
WARNING: This change has not be ported to other backends!  Breakage is likely.

25 years agoElimination of un-used code in bdb2i_cache_open and friends.
Kurt Spanier [Wed, 10 Feb 1999 13:19:11 +0000 (13:19 +0000)]
Elimination of un-used code in bdb2i_cache_open and friends.
Provision for a bdb2 backend-specific DB file suffix.
Fix of the double-open of backend types.

25 years agoFix modrdn bug in back-bdb2 as well. Probably should move
Kurt Zeilenga [Tue, 9 Feb 1999 18:07:01 +0000 (18:07 +0000)]
Fix modrdn bug in back-bdb2 as well.  Probably should move
dn rewriting to frontend dn.c function.

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.