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

25 years agoAdd c_protocol to slap_conn to track protocol version used by client.
Kurt Zeilenga [Thu, 21 Jan 1999 02:21:39 +0000 (02:21 +0000)]
Add c_protocol to slap_conn to track protocol version used by client.
Is initialized to 0 (unknown) and then set to 2 or 3 on bind.  Should
also be 0->3 if a special (or any) operation occurs before the bind.

25 years agoAdd some server side projects.
Kurt Zeilenga [Thu, 21 Jan 1999 01:18:13 +0000 (01:18 +0000)]
Add some server side projects.

25 years ago*** empty log message ***
Kurt Zeilenga [Thu, 21 Jan 1999 01:12:35 +0000 (01:12 +0000)]
*** empty log message ***

25 years agoignore SIGPIPE
Kurt Zeilenga [Wed, 20 Jan 1999 22:01:14 +0000 (22:01 +0000)]
ignore SIGPIPE

25 years agoUpdate ldap_first_attribute/ldap_next_attribute to handle
Kurt Zeilenga [Wed, 20 Jan 1999 20:21:38 +0000 (20:21 +0000)]
Update ldap_first_attribute/ldap_next_attribute to handle
BerElement argument per latest IETF ldapext draft c api spec.
That is, caller is solely responsible for freeing the BerElement
allocated and returned by ldap_first_attribute.
Update man pages accordingly.
Update applications accordingly.

25 years agosuffixes need to be stored in normalized uppercase format
Kurt Zeilenga [Wed, 20 Jan 1999 05:43:33 +0000 (05:43 +0000)]
suffixes need to be stored in normalized uppercase format

25 years agondn & strcasecmp cleanup
Kurt Zeilenga [Wed, 20 Jan 1999 03:05:35 +0000 (03:05 +0000)]
ndn & strcasecmp cleanup

25 years agoDon't use initializers for auto vars.
Kurt Zeilenga [Wed, 20 Jan 1999 01:00:12 +0000 (01:00 +0000)]
Don't use initializers for auto vars.

25 years agosuffixAlias will return a normalized uppercase DN if input is normalized
Kurt Zeilenga [Tue, 19 Jan 1999 19:29:11 +0000 (19:29 +0000)]
suffixAlias will return a normalized uppercase DN if input is normalized
and uppercase.  (aliased_dn are stored in normalized uppercase format).

25 years agoRecode suffixAlias to implement simple check to see if part to aliased
Kurt Zeilenga [Tue, 19 Jan 1999 19:26:09 +0000 (19:26 +0000)]
Recode suffixAlias to implement simple check to see if part to aliased
is at a DNSEPARATOR.  Moved DNSEPARATOR macro from dn.c to slap.h

25 years agoRemoved o_suffix and o_suffixalias as they were 1) leaked and 2) unused
Kurt Zeilenga [Tue, 19 Jan 1999 18:54:19 +0000 (18:54 +0000)]
Removed o_suffix and o_suffixalias as they were 1) leaked and 2) unused
(suffixAliasing only maps input dn's, not output dn).

25 years agoDon't allow suffixAliases were alias and aliased dn our the same.
Kurt Zeilenga [Tue, 19 Jan 1999 18:39:20 +0000 (18:39 +0000)]
Don't allow suffixAliases were alias and aliased dn our the same.

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.