]> git.sur5r.net Git - openldap/log
openldap
25 years agouse dn_normalize_case().
Kurt Zeilenga [Tue, 19 Jan 1999 18:25:21 +0000 (18:25 +0000)]
use dn_normalize_case().

25 years agouppercase that ndn.
Kurt Zeilenga [Tue, 19 Jan 1999 18:18:53 +0000 (18:18 +0000)]
uppercase that ndn.

25 years agoNeed to uppercase e_ndn.
Kurt Zeilenga [Tue, 19 Jan 1999 18:17:29 +0000 (18:17 +0000)]
Need to uppercase e_ndn.

25 years agoNeed to upper case the new_ndn.
Kurt Zeilenga [Tue, 19 Jan 1999 18:16:12 +0000 (18:16 +0000)]
Need to upper case the new_ndn.

25 years agoUpdate support for dn vs ndn. Build new dn from e->e_dn not frontend
Kurt Zeilenga [Tue, 19 Jan 1999 18:13:30 +0000 (18:13 +0000)]
Update support for dn vs ndn.  Build new dn from e->e_dn not frontend
provided dn (which is normalized and uppercased).   This preserved
the trailing portion of the dn.

25 years agoUpdate slap_conn to maintain client provided dn and bound dn.
Kurt Zeilenga [Tue, 19 Jan 1999 05:10:50 +0000 (05:10 +0000)]
Update slap_conn to maintain client provided dn and bound dn.
Update slap_op to maintain dn and ndn (derived from conn->c_dn).
Update ldbm_back_bind to return actual bound dn (including rootdn)
for use in slapd_conn.  Other backends use client dn.
Modify other codes to use ndn (normalized uppercase dn) most everywhere.
Aliasing, Suffixing and modrdn could use more work.
Applied suffixing to compare and modrdn.

25 years agoRepeat the misplaced header check for --with-threads=lwp.
Kurt Zeilenga [Tue, 19 Jan 1999 00:33:12 +0000 (00:33 +0000)]
Repeat the misplaced header check for --with-threads=lwp.
Suggest --with-threads=posix when error is reported.

25 years agoTest for misplaced pthread_t in sys/types.h.
Kurt Zeilenga [Mon, 18 Jan 1999 23:47:10 +0000 (23:47 +0000)]
Test for misplaced pthread_t in sys/types.h.
Once we have private types for threads, this check can be removed.

25 years agoFree that unclobberred dn.
Kurt Zeilenga [Mon, 18 Jan 1999 20:49:07 +0000 (20:49 +0000)]
Free that unclobberred dn.

25 years agoDon't clobber dn.
Kurt Zeilenga [Mon, 18 Jan 1999 20:34:17 +0000 (20:34 +0000)]
Don't clobber dn.

25 years agoe_ndn = dn_normalize_case( e_dn )
Kurt Zeilenga [Mon, 18 Jan 1999 20:00:58 +0000 (20:00 +0000)]
e_ndn = dn_normalize_case( e_dn )

25 years agoStore rootdn in normalized uppercase format.
Kurt Zeilenga [Mon, 18 Jan 1999 19:47:12 +0000 (19:47 +0000)]
Store rootdn in normalized uppercase format.

25 years agoITS#44 fix. denied connections should not be added to connections.
Kurt Zeilenga [Mon, 18 Jan 1999 18:40:12 +0000 (18:40 +0000)]
ITS#44 fix.  denied connections should not be added to connections.

25 years agoProtect return of the locked entry.
Kurt Zeilenga [Mon, 18 Jan 1999 17:41:12 +0000 (17:41 +0000)]
Protect return of the locked entry.
Note: we probably can replace the dn2entry_r with dn2id as only the id
is needed unless we're holding the lock for filtercandidates or something

25 years agoMinor cleanup of trace output.
Kurt Zeilenga [Mon, 18 Jan 1999 17:33:36 +0000 (17:33 +0000)]
Minor cleanup of trace output.

25 years agoLimit non-restricted executables to those with a different primary function.
Kurt Zeilenga [Mon, 18 Jan 1999 07:02:14 +0000 (07:02 +0000)]
Limit non-restricted executables to those with a different primary function.

25 years agoUse Entry's e_ndn instead of recomputing it.
Kurt Zeilenga [Sun, 17 Jan 1999 20:12:00 +0000 (20:12 +0000)]
Use Entry's e_ndn instead of recomputing it.

25 years agochange "differances may exist" to "significant differrances exist"
Kurt Zeilenga [Sun, 17 Jan 1999 18:33:00 +0000 (18:33 +0000)]
change "differances may exist" to "significant differrances exist"
within NOTE.  This is in the NOTE so rev left at 1.3.

25 years agoReworded paragraph 7 to make it apply to a library of routines
Kurt Zeilenga [Sun, 17 Jan 1999 18:06:52 +0000 (18:06 +0000)]
Reworded paragraph 7 to make it apply to a library of routines
instead of a 'language'.
Added paragraph 8 to clarify software that linked with OpenLDAP
does NOT fall under our copyright (ie: the copyright is non-viral)
and that resulting executables may be used and redistributed without
restriction (including sold for profit).

25 years agoReformat (fmt) license for only. No actual change to terms and conditions.
Kurt Zeilenga [Sun, 17 Jan 1999 18:01:30 +0000 (18:01 +0000)]
Reformat (fmt) license for only.  No actual change to terms and conditions.

25 years agoReorder build order: libavl depends on libldap (for str*).
Kurt Zeilenga [Sun, 17 Jan 1999 17:50:01 +0000 (17:50 +0000)]
Reorder build order: libavl depends on libldap (for str*).

25 years agoAdded OpenLDAP copyright to files.
Bart Hartgers [Sun, 17 Jan 1999 15:46:19 +0000 (15:46 +0000)]
Added OpenLDAP copyright to files.

25 years agoFixed my own stupid mistake of not noticing the 'n' in #ifndef. strdup
Bart Hartgers [Sun, 17 Jan 1999 15:27:30 +0000 (15:27 +0000)]
Fixed my own stupid mistake of not noticing the 'n' in #ifndef. strdup
should work as it was again...

25 years agoList only Sleepycat or GDBM as being compatible (though others might be).
Kurt Zeilenga [Sat, 16 Jan 1999 02:28:48 +0000 (02:28 +0000)]
List only Sleepycat or GDBM as being compatible (though others might be).

25 years agoAdd 'should not be world readable' comment.
Kurt Zeilenga [Sat, 16 Jan 1999 01:51:02 +0000 (01:51 +0000)]
Add 'should not be world readable' comment.

25 years agoAdd reference to ldap.conf(5).
Kurt Zeilenga [Sat, 16 Jan 1999 01:50:12 +0000 (01:50 +0000)]
Add reference to ldap.conf(5).

25 years agoAdd reference to slapd.conf(5) and recommendation to avoid cleartext passwords.
Kurt Zeilenga [Sat, 16 Jan 1999 01:48:26 +0000 (01:48 +0000)]
Add reference to slapd.conf(5) and recommendation to avoid cleartext passwords.

25 years agoRun autoconf/autoheader to generate new configure/portable.h.in
Kurt Zeilenga [Sat, 16 Jan 1999 00:59:49 +0000 (00:59 +0000)]
Run autoconf/autoheader to generate new configure/portable.h.in

25 years agoDocument fact that rootpw need not be cleartext.
Kurt Zeilenga [Fri, 15 Jan 1999 20:33:56 +0000 (20:33 +0000)]
Document fact that rootpw need not be cleartext.

25 years agoFixed a small typo...
Bart Hartgers [Fri, 15 Jan 1999 19:57:32 +0000 (19:57 +0000)]
Fixed a small typo...

25 years agoCould have no entry to return... check entry pointer before trying to
Kurt Zeilenga [Fri, 15 Jan 1999 18:04:52 +0000 (18:04 +0000)]
Could have no entry to return...  check entry pointer before trying to
return cache entry.

25 years agoChanges to support threads from libldap_r.
Bart Hartgers [Fri, 15 Jan 1999 14:54:25 +0000 (14:54 +0000)]
Changes to support threads from libldap_r.

25 years agoUpdates regarding threads and names.
Bart Hartgers [Fri, 15 Jan 1999 14:49:03 +0000 (14:49 +0000)]
Updates regarding threads and names.

25 years agoUpdates for the new threading and utility stuff in libldap{_r}.
Bart Hartgers [Fri, 15 Jan 1999 14:31:12 +0000 (14:31 +0000)]
Updates for the new threading and utility stuff in libldap{_r}.

25 years agoFixed a small but nasty typo.
Bart Hartgers [Fri, 15 Jan 1999 14:27:59 +0000 (14:27 +0000)]
Fixed a small but nasty typo.

25 years agoInstall slapd.conf with mode of 600.
Kurt Zeilenga [Fri, 15 Jan 1999 02:48:00 +0000 (02:48 +0000)]
Install slapd.conf with mode of 600.

25 years agoUpdate init and ldap.conf(5) to handle LDAPNOINIT, LDAPCONF, LDAPRC
Kurt Zeilenga [Thu, 14 Jan 1999 23:04:08 +0000 (23:04 +0000)]
Update init and ldap.conf(5) to handle LDAPNOINIT, LDAPCONF, LDAPRC
environment settings.

25 years agoDisable implicit session defaulting.... you never know what someone
Kurt Zeilenga [Thu, 14 Jan 1999 22:22:45 +0000 (22:22 +0000)]
Disable implicit session defaulting.... you never know what someone
might have in their ldap.conf(5) file.

25 years agostrpbrk was checked for twice, and something didn't work. Now it does.
Bart Hartgers [Thu, 14 Jan 1999 17:43:32 +0000 (17:43 +0000)]
strpbrk was checked for twice, and something didn't work. Now it does.

25 years agoImproved ldap_int_strtok. If strtok_r does not exists, it will be worked
Bart Hartgers [Thu, 14 Jan 1999 15:19:29 +0000 (15:19 +0000)]
Improved ldap_int_strtok. If strtok_r does not exists, it will be worked
simulated with strspn and strpbrk. If strspn or strpbrk aren't there, they
will be supplied.
In addition, the memory-handling of the ldap_int_gethostby's is better now.

25 years agoInitial version of the experimental 'back-perl'
Kurt Zeilenga [Thu, 14 Jan 1999 06:33:09 +0000 (06:33 +0000)]
Initial version of the experimental 'back-perl'
John's still working on the 'perl-test' (the perl backend test module).

25 years agoInsert missing ')'...
Kurt Zeilenga [Thu, 14 Jan 1999 06:28:50 +0000 (06:28 +0000)]
Insert missing ')'...

25 years agoFix variable names in res_search check.
Kurt Zeilenga [Thu, 14 Jan 1999 03:14:46 +0000 (03:14 +0000)]
Fix variable names in res_search check.

25 years agoProtect some tests with quotes.
Randy Kunkee [Thu, 14 Jan 1999 02:58:56 +0000 (02:58 +0000)]
Protect some tests with quotes.

25 years agoModify build order to have lutil first and lthread last (libldap_r
Kurt Zeilenga [Thu, 14 Jan 1999 01:38:32 +0000 (01:38 +0000)]
Modify build order to have lutil first and lthread last (libldap_r
will eventually be very last).  Add lthread/lutil to libldap_r test
program linkage.

25 years agoRevamp build system yet again to move all external libraries to
Kurt Zeilenga [Thu, 14 Jan 1999 01:31:43 +0000 (01:31 +0000)]
Revamp build system yet again to move all external libraries to
end of link.    Basic order is:
$LDFLAGS internal-libs external-libs $LIBS $LTHREAD_LIBS

LTHREAD_LIBS is last as -lpthread (or equiv) must be last on many systems.
LIBS is next to last as some user might have put -lpthread (or equiv)
in $LIBS.

25 years ago-lldif must proceed -lldap in 1.1 (for ldap_debug).
Kurt Zeilenga [Thu, 14 Jan 1999 00:24:15 +0000 (00:24 +0000)]
-lldif must proceed -lldap in 1.1 (for ldap_debug).
Might as well keep link order consistent between -devel and 1.1

25 years agoBe quite about deleting data symlink
Kurt Zeilenga [Wed, 13 Jan 1999 23:38:01 +0000 (23:38 +0000)]
Be quite about deleting data symlink

25 years agoRemove bogus ldap_msgfree() call.
Kurt Zeilenga [Wed, 13 Jan 1999 18:20:33 +0000 (18:20 +0000)]
Remove bogus ldap_msgfree() call.

25 years agoFix up a few typos and add some minor cleanup.
Kurt Zeilenga [Wed, 13 Jan 1999 06:05:10 +0000 (06:05 +0000)]
Fix up a few typos and add some minor cleanup.

25 years agoAdd normalized dn to Entry structure as field e_ndn. Entry
Kurt Zeilenga [Wed, 13 Jan 1999 01:17:22 +0000 (01:17 +0000)]
Add normalized dn to Entry structure as field e_ndn.  Entry
creation codes to provide this field.  Update cache_entrydn_cmp
to strcasecmp() the e_ndn instead of e_dn.  Note: strcasecmp()
is still used as e_ndn isn't in uppercase.  Maybe it should
be.  Did not update other codes to use e_ndn.  Hence, there
are lots of dn_normalize() calls that could be eliminated.
(The case determination of e_ndn should be made first).

25 years agoUpdate check for res_search. If not available in $LIBS, check
Kurt Zeilenga [Wed, 13 Jan 1999 01:11:28 +0000 (01:11 +0000)]
Update check for res_search.  If not available in $LIBS, check
in -lbind then in -lresolv.

25 years agoAdded back-passwd item with reference to ITS.
Kurt Zeilenga [Wed, 13 Jan 1999 00:47:32 +0000 (00:47 +0000)]
Added back-passwd item with reference to ITS.
Probably should detail each of these items with an ITS...

25 years agoReport status of failed pthread_create()
Kurt Zeilenga [Tue, 12 Jan 1999 23:57:21 +0000 (23:57 +0000)]
Report status of failed pthread_create()

25 years agoReport exit status of pthread_create()
Kurt Zeilenga [Tue, 12 Jan 1999 23:52:50 +0000 (23:52 +0000)]
Report exit status of pthread_create()

25 years agoNew description for use of Bereley DB 2.x on a Linux platform.
Kurt Spanier [Tue, 12 Jan 1999 14:15:35 +0000 (14:15 +0000)]
New description for use of Bereley DB 2.x on a Linux platform.

25 years agoUse pthread_detach() to detach connection threads instead of
Kurt Zeilenga [Mon, 11 Jan 1999 19:04:34 +0000 (19:04 +0000)]
Use pthread_detach() to detach connection threads instead of
creating them detached.  This hopefully will reduce problems on
draft4 pthread implementations related to creating detached
threads (which is _np under draft4) on some platforms without
causing problems with other thread implementations.

25 years agoChange SLAPD shutdown to do a cond wait on active threads instead
Kurt Zeilenga [Mon, 11 Jan 1999 18:36:40 +0000 (18:36 +0000)]
Change SLAPD shutdown to do a cond wait on active threads instead
of a busy wait and allow the pthread_yield within the loop to be
removed.  This was the only pthread_yield which was necessary
when usng non-preemptive threads.  As such, the configure.in
sched_yield/pthread_yield missing error can be removed from
configure.in.  If explicit yield function is missing, just provide
a no-op replacement.
Moved declaration of various slapd globals from main.c to init.c
so they can be shared with ldbm tools.

25 years agoUpdate build environment to fix VPATH support.
Kurt Zeilenga [Sun, 10 Jan 1999 02:25:41 +0000 (02:25 +0000)]
Update build environment to fix VPATH support.
  make depend, make tests, and make install all work when build directory
  is not the $srcdir.
Also modified library handling such that -lpthread more likely to be last.
WARNING: new orderring requires use of LDFLAGS to set global loader options
  such as -L/usr/local/lib.  If you put this in LIBS, some libraries
  may not be found a link time.
Likely broke Kerberos/LDAPD support.  Don't have those in my testbed.

25 years agorename 'struct op' to 'struct slap_op'
Kurt Zeilenga [Sun, 10 Jan 1999 02:16:48 +0000 (02:16 +0000)]
rename 'struct op' to 'struct slap_op'
rename 'struct conn' to 'struct slap_conn'
rename op_function to slap_op_func for functions add/delete/free
This change is need to avoid clashing with perl internals.

25 years agoAdd distclean target
Kurt Zeilenga [Sat, 9 Jan 1999 02:12:09 +0000 (02:12 +0000)]
Add distclean target

25 years agoCleanup slapd search op deallocation.
Kurt Zeilenga [Fri, 8 Jan 1999 21:48:09 +0000 (21:48 +0000)]
Cleanup slapd search op deallocation.

25 years agoFix tmp file removal.
Kurt Zeilenga [Fri, 8 Jan 1999 19:51:15 +0000 (19:51 +0000)]
Fix tmp file removal.

25 years agoTiny fix to the description of the -l option.
Kurt Spanier [Fri, 8 Jan 1999 10:09:07 +0000 (10:09 +0000)]
Tiny fix to the description of the -l option.

25 years agoDescription of the '-l syslog-local-user' option in the slapd manpage;
Kurt Spanier [Fri, 8 Jan 1999 09:59:09 +0000 (09:59 +0000)]
Description of the '-l syslog-local-user' option in the slapd manpage;
also description of .pid and .args files.

25 years agoUpdated SLAPD args/pid file codes to use DEFAULT_RUNDIR and DEFAULT_DIRSEP.
Kurt Zeilenga [Thu, 7 Jan 1999 18:16:40 +0000 (18:16 +0000)]
Updated SLAPD args/pid file codes to use DEFAULT_RUNDIR and DEFAULT_DIRSEP.
Removed old defines.

25 years agoBackout extraneous changes made by last commit.
Kurt Zeilenga [Thu, 7 Jan 1999 17:51:23 +0000 (17:51 +0000)]
Backout extraneous changes made by last commit.

25 years agoFix --disable-slurpd.
Kurt Zeilenga [Thu, 7 Jan 1999 17:29:39 +0000 (17:29 +0000)]
Fix --disable-slurpd.

25 years agoRe-specification of the DB patch.
Kurt Spanier [Thu, 7 Jan 1999 14:38:01 +0000 (14:38 +0000)]
Re-specification of the DB patch.

25 years agoSpecification of the platform, that caused the problem.
Kurt Spanier [Thu, 7 Jan 1999 14:27:37 +0000 (14:27 +0000)]
Specification of the platform, that caused the problem.

25 years agoApply fix suggested by Ben Collins <bmc@visi.net>
Kurt Zeilenga [Thu, 7 Jan 1999 05:47:25 +0000 (05:47 +0000)]
Apply fix suggested by Ben Collins <bmc@visi.net>
pass STRING_UNKNOWN if !client_name
pass STRING_UNKNOWN if !client_addr

25 years agoWrap db2 mutex with -DHAVE_BERKELEY_DB2 (should be hidden in -lldbm) ITS#35
Kurt Zeilenga [Thu, 7 Jan 1999 03:28:08 +0000 (03:28 +0000)]
Wrap db2 mutex with -DHAVE_BERKELEY_DB2 (should be hidden in -lldbm) ITS#35
Unwrap ldbm_datum_init()

25 years agoModify Add/Delete/Modrdn operations to require write perms on
Kurt Zeilenga [Thu, 7 Jan 1999 02:51:08 +0000 (02:51 +0000)]
Modify Add/Delete/Modrdn operations to require write perms on
parent's "children" attribute.  Write lock parent to prevent
multiple clients making conflicting operations concurrently.
If parent doesn't exist (ie: is backend root), acquire a writer
lock (a simple mutex) on the "root."
Use -DSLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL to use the child's
"entry" acl for modrdn/delete operations.

25 years agoUse MAXARGS... we should actually check for limits.h's ARG_MAX and
Kurt Zeilenga [Wed, 6 Jan 1999 20:27:27 +0000 (20:27 +0000)]
Use MAXARGS... we should actually check for limits.h's ARG_MAX and
use this everywhere... but that's for another day.

25 years ago- Make install creates $(RUNDIR)/var for pid and args files of slapd.
Kurt Spanier [Tue, 5 Jan 1999 15:40:58 +0000 (15:40 +0000)]
- Make install creates $(RUNDIR)/var for pid and args files of slapd.
- slapd's pid/args file names are based on the servers binary file names,
  providing for multiple servers beeing run on one host.
- slapd supports the -l command line parameter for selection of a
  syslog LOCAL user (-lLOCAL0 .. -lLOCAL7)
- db_appinit() is called during first ldbm_open() in DB 2.x to initialize
  DB debugging features (good to find bugs in the DB code :-)
- a patch for a non-initialized variable in DB's 2.x db_open is provided.

25 years agoentry pointer 'p' must be initialized. Should fix ITS#31.
Kurt Zeilenga [Sun, 3 Jan 1999 22:55:43 +0000 (22:55 +0000)]
entry pointer 'p' must be initialized.  Should fix ITS#31.

25 years agoUpdate ctime_r() argument macro to cache results and to produce
Kurt Zeilenga [Sat, 2 Jan 1999 23:40:31 +0000 (23:40 +0000)]
Update ctime_r() argument macro to cache results and to produce
one preprocessor macro instead of two.  Ran aclocal, autoconf,
autoheader to update derived files.  Modify util-int.c to use
CTIME_R_NARGS define and fallback to ctime() if not set.
Made LDAP_API_FEATURE_X_OPENLDAP_REENTRANT dependent upon result.

25 years agoEnable dbcachenoWsync for replica.
Kurt Zeilenga [Sat, 2 Jan 1999 23:29:06 +0000 (23:29 +0000)]
Enable dbcachenoWsync for replica.

25 years agoMore pidentd/tcp_wrappers projects to do.
Kurt Zeilenga [Sat, 2 Jan 1999 23:28:18 +0000 (23:28 +0000)]
More pidentd/tcp_wrappers projects to do.

25 years agoMoved the ctime_r number of arguments check to the right file.
Bart Hartgers [Sat, 2 Jan 1999 21:54:58 +0000 (21:54 +0000)]
Moved the ctime_r number of arguments check to the right file.

25 years agoTeached autoconf to figure out how may arguments ctime_r expects.
Bart Hartgers [Sat, 2 Jan 1999 00:56:45 +0000 (00:56 +0000)]
Teached autoconf to figure out how may arguments ctime_r expects.
Updated util-int.c to use this information.

25 years agofix minor reinstall bug: INSTALLDIR -> MANDIR
Kurt Zeilenga [Fri, 1 Jan 1999 20:47:56 +0000 (20:47 +0000)]
fix minor reinstall bug:  INSTALLDIR -> MANDIR

25 years agoWrap strtok use with mutex.
Kurt Zeilenga [Fri, 1 Jan 1999 20:43:29 +0000 (20:43 +0000)]
Wrap strtok use with mutex.

25 years agoWrap strtok use with mutex.
Kurt Zeilenga [Fri, 1 Jan 1999 20:22:56 +0000 (20:22 +0000)]
Wrap strtok use with mutex.

25 years agoFix typo in dbcachenowsync description.
Kurt Zeilenga [Wed, 30 Dec 1998 20:15:14 +0000 (20:15 +0000)]
Fix typo in dbcachenowsync description.

25 years agoFix minor formatting problem (missing .TP) with dbcachenowsync description.
Kurt Zeilenga [Wed, 30 Dec 1998 19:58:31 +0000 (19:58 +0000)]
Fix minor formatting problem (missing .TP) with dbcachenowsync description.

25 years agoAdd special check for pthreads under HP-UX (as last resort).
Kurt Zeilenga [Wed, 30 Dec 1998 19:46:39 +0000 (19:46 +0000)]
Add special check for pthreads under HP-UX (as last resort).

25 years agoUpdate todo...
Kurt Zeilenga [Wed, 30 Dec 1998 05:40:01 +0000 (05:40 +0000)]
Update todo...

25 years agoAdded salted MD5 and SHA support. (SSHA,SMD5)
Dave Storey [Wed, 30 Dec 1998 05:32:17 +0000 (05:32 +0000)]
Added salted MD5 and SHA support. (SSHA,SMD5)

25 years agoI thought the bdn was normalized already... guess not.
Kurt Zeilenga [Wed, 30 Dec 1998 05:21:40 +0000 (05:21 +0000)]
I thought the bdn was normalized already... guess not.

25 years agoPreliminary Fixes for ITS#24, ITS#26, and ldbm_back_add race condition.
Kurt Zeilenga [Wed, 30 Dec 1998 03:35:23 +0000 (03:35 +0000)]
Preliminary Fixes for ITS#24, ITS#26, and ldbm_back_add race condition.
Resolved deadlock by passing target entry to be_group and using
this if dn same as bdn.  It might actually be safer to check
entry ids instead of dns.
Resolved bogus add to cache after failed acl check by deferring
cache add until after parent/acl checks have successful been
completed.
Eliminated race condition caused by concurrent adds
of same dn by adding 'li_add_mutex' around the critical section
of code (most of ldbm_back_add).
This code is preliminary and still needs significant testing.

25 years agoCleanup thread handling to resolve non-exiting daemons on FreeBSD.
Kurt Zeilenga [Wed, 30 Dec 1998 00:06:27 +0000 (00:06 +0000)]
Cleanup thread handling to resolve non-exiting daemons on FreeBSD.
Seems that calling pthread_exit() in the main (and only active)
thread does not cause the whole process to exit.  Very odd.
Anyways, as we want to whole process to exit, we should just exit
after joining with our other threads.
I've also removed dead code for detaching threads we join with.

25 years agoUse charray_free to free alist charray
Kurt Zeilenga [Tue, 29 Dec 1998 23:23:21 +0000 (23:23 +0000)]
Use charray_free to free alist charray

25 years agoFix --disable-crypt and --disable-cleartext
Kurt Zeilenga [Tue, 29 Dec 1998 21:45:08 +0000 (21:45 +0000)]
Fix --disable-crypt and --disable-cleartext
mutex declaration should be moved from slapd/main.c to slapd/init.c
so we don't have ripple changes through slapd/tools.

25 years agoPatch for Berkeley DB 2.6.4 (beta) (DB)->cursor() call.
Kurt Spanier [Tue, 29 Dec 1998 17:28:45 +0000 (17:28 +0000)]
Patch for Berkeley DB 2.6.4 (beta) (DB)->cursor() call.
Introduction of ldbm_datum_init().
Patch for non-NULL pointer test befor call to ldbm_datum_free().

25 years agoSet 'expected' defaults
Kurt Zeilenga [Tue, 29 Dec 1998 05:52:27 +0000 (05:52 +0000)]
Set 'expected' defaults

25 years agoShould have left 'scope' alone.
Kurt Zeilenga [Tue, 29 Dec 1998 05:44:18 +0000 (05:44 +0000)]
Should have left 'scope' alone.

25 years agoMake ldap_set_option options optional.
Kurt Zeilenga [Tue, 29 Dec 1998 05:33:34 +0000 (05:33 +0000)]
Make ldap_set_option options optional.

25 years agoFix schema check bug... actually charray needs to dup strings on
Kurt Zeilenga [Mon, 28 Dec 1998 23:43:04 +0000 (23:43 +0000)]
Fix schema check bug... actually charray needs to dup strings on
add/merge as we now free strings agressively.  Improved debug
message to include name of missing required attribute and added
check for 'operational attributes'.  This check should be used
everywhere we need to test for operational attributes (add/modify).
Also, enabled schema checking for tests (and fixed resulting
problems by adjusting oc.conf).

25 years agoAdd simple copyright notice.
Kurt Zeilenga [Mon, 28 Dec 1998 20:53:15 +0000 (20:53 +0000)]
Add simple copyright notice.