Commit Graph

1614 Commits

Author SHA1 Message Date
Hallvard Furuseth
dd44e1c28f Initial port of web_ldap to OpenLDAP. Also fixed some doc bugs. 1999-03-27 18:05:33 +00:00
Hallvard Furuseth
a3bc2bbe63 free() -> ldap_memfree() change 1999-03-27 16:51:05 +00:00
Hallvard Furuseth
ac536906c5 Free() -> ldap_memfree() changes. Remove use of the return value of free(). 1999-03-27 16:43:56 +00:00
Hallvard Furuseth
4459780fb3 Add wait4child() 1999-03-27 16:21:44 +00:00
Kurt Zeilenga
ac6ececfee Remove release version number from README in -devel. 1999-03-26 21:11:13 +00:00
Kurt Zeilenga
12c3efb878 Replace -M with $CC_MKDEP_FLAGS in comment 1999-03-26 19:19:12 +00:00
Kurt Zeilenga
11add79cb1 Update locking codes. 1999-03-26 17:43:23 +00:00
Will Ballantyne
918b9f8d86 argh, somehow bdb2 version overwritten by ldbm version. Fixed. 1999-03-26 16:34:47 +00:00
Ben Collins
cfe36cb71f Added extra checks to locking definitions 1999-03-26 15:10:06 +00:00
Will Ballantyne
4fbc5ed92c check for NULL newDN prior to final deref check 1999-03-26 05:36:26 +00:00
Kurt Zeilenga
81acad8937 Add LDAP_DEBUG promotion and include of ac/insert.h 1999-03-26 04:37:39 +00:00
Kurt Zeilenga
668c8da980 Reenable counters. 1999-03-26 02:51:33 +00:00
Kurt Zeilenga
10d7f35484 Don't call AC_CANONICAL_HOST from configure.in. We use feature tests.
(libtool, though, will drag it for it's use...)
1999-03-26 01:05:22 +00:00
Kurt Zeilenga
af2183c35e close ldap.conf after reading it. 1999-03-25 22:19:42 +00:00
Kurt Zeilenga
a9ed7c24e2 Use modified works test to check for pthread_create in default
libraries.  Original work test is still used to valid detected
header/library are compatible.
1999-03-25 22:11:42 +00:00
Kurt Zeilenga
37ff5e356f Backout previous change. It breaks specification of pthreads via
the environment.  A more general solution is needed.
1999-03-25 19:51:54 +00:00
Juan Gomez
90ebcb8bd9 Added support for newSuperior. 1999-03-24 21:45:15 +00:00
Juan Gomez
dccfdb97e9 Added a new function: build_new_dn(), which builds new dn for entries
being renamed through modrdn/moddn. This in preparation to add support
for MODDN v3.
1999-03-24 20:26:43 +00:00
Juan Gomez
3b367ac961 Fixed Pthread detection problem in IRIX. 1999-03-24 04:09:55 +00:00
Juan Gomez
6a302baa9f Fixed Pthread detection problem in IRIX. 1999-03-24 04:04:50 +00:00
Kurt Zeilenga
f3774d6ea3 Fix unlock bug in connection_read/write. Fix connection_read() to
ignore input when connection is closing.
1999-03-23 01:57:48 +00:00
Kurt Zeilenga
f1e15ddfa2 Improved "closing" handling. Remove fd from read set when state
changes to closing.  Need to add protection against read set races.
1999-03-23 00:38:57 +00:00
Kurt Zeilenga
6553a1fc77 Fix c_mutex typo. 1999-03-22 19:46:44 +00:00
Kurt Zeilenga
f8b9b03d53 Add trace to connection_get() to aid debugging. 1999-03-22 19:39:54 +00:00
Kurt Zeilenga
4b65e74fa8 slap_set_time() is no longer necessary. 1999-03-22 19:16:22 +00:00
Julio Sánchez Fernández
89ff3b6392 Changed the way paths are replaced in xrpcomp so that it is done in the
make step instead of make install
Removed pair of extra % from the path substitution
1999-03-22 14:17:57 +00:00
Kurt Zeilenga
c9eacbdc64 Round 2 of connection management changes.
Mainly updated back-bdb2, back-passwd, back-shell to use slap_get_time().
1999-03-22 07:38:27 +00:00
Kurt Zeilenga
8f02beada9 PROTOTYPE: New connection management infrastructure designed to
remove race conditions on connection close.
BROKEN: various counters for dn=monitor.
Initial testing on FreeBSD (with and without pthreads) was successfull.
Have not yet tested preemptive threading environments.
Have not built against backends other than LDBM.
1999-03-22 07:14:54 +00:00
Kurt Zeilenga
61f6d5d8ca Add check for <assert.h> and put include in right file (acconfig.h) 1999-03-20 03:21:19 +00:00
Kurt Zeilenga
f999e1350d Provide global assert solution. <ac/assert.h> (new) is now included
by portable.h with NDEBUG undefined.  This makes assert() is always
available and automatically disables itself when LDAP_DEBUG is undefined.
I've included a basic assert() for pre-STDC compilers.  It relies on
abort() which may not actually be available.  (well replace abort()
with whatever is appropriate if and when we're faced with a pre-STDC
compiler that doesn't have assert()).
1999-03-20 03:13:24 +00:00
Kurt Zeilenga
ab64c237f7 Use calloc properly... could result in too few bytes being allocated.
calloc(1, nelem*size) -> calloc(nelem, size)
1999-03-20 01:25:11 +00:00
Julio Sánchez Fernández
94b8e0830e slapd.conf and friends were being modified during the install step 1999-03-18 20:36:42 +00:00
Kurt Zeilenga
62f71f6042 Add TMPROOT support for two phase building/installing.
make all
	make TMPROOT=/tmp/root install
will install everything under $(TMPROOT)$(prefix).  Useful for
building bundling packages/ports for various operating systems.
1999-03-18 17:36:55 +00:00
Kurt Zeilenga
52884a2caa Add copyright notice (to generate log message). 1999-03-18 02:13:09 +00:00
Kurt Zeilenga
2003488522 Bogus change just to generate a log message. 1999-03-18 02:03:16 +00:00
Kurt Zeilenga
90541bf8e8 Add 1999 to acinclude and rebuild configure. (really a log.pl test). 1999-03-18 01:56:26 +00:00
Kurt Zeilenga
86a2e91ae9 Add 1999 to copyright. Test new log.pl. 1999-03-18 01:51:53 +00:00
Kurt Zeilenga
5a4babde00 Add DEFAULT_EDITOR to ldapconfig.h. Used by ldbmtest and ud. 1999-03-17 22:34:17 +00:00
Kurt Zeilenga
1676d61130 Use HAVE_PW_GECOS when needed. 1999-03-17 22:27:46 +00:00
Kurt Zeilenga
96b2ae55ac Add OL_STRUCT_PASSWD_PW_GECOS test. Checks for pw_gecos in struct passwd. 1999-03-17 22:23:29 +00:00
Kurt Zeilenga
98d3206c42 Rebuild configure and portable.h.in... 1999-03-17 22:10:31 +00:00
Kurt Zeilenga
5bd27ad01d delete thread project, Bart completed this.
Add SASL/TLS project, Bart's working on this.
Add reference to ITS "Software Enhancements".
1999-03-17 22:02:00 +00:00
Kurt Zeilenga
3550bc48c0 Add slapd -a address support. Allows you to bind to a specific
address.  Useful for running multiple servers in a virtual hosting
environment.
Modified test001-ldif2ldbm to verify this functionality.  Assumes
localhost is 127.0.0.1.
1999-03-17 03:56:25 +00:00
Kurt Zeilenga
c51e647870 Minor change to EBCDIC test. 1999-03-17 03:55:51 +00:00
Kurt Zeilenga
4f60044d29 First cut at bind race fix. Passes our test suite at least. 1999-03-16 23:33:30 +00:00
Kurt Zeilenga
cc38cf6534 Cast pointer to strcasecmp to AVL_CMP. 1999-03-16 21:55:00 +00:00
Kurt Zeilenga
fa81f43f04 Initial check of connection states. Have only implemented
SLAP_C_ACTIVE vs SLAP_C_INACTIVE.  Need to implement BINDING and CLOSING.
Added fields tracking pending (on bind) ops.  Could also be used to
implement per-connection thread limits.
1999-03-16 02:59:59 +00:00
Kurt Zeilenga
70555f853a NULL needs to be defined for pthread_detach(NULL). 1999-03-16 00:38:16 +00:00
Kurt Zeilenga
5ba71a498b Update EBCDIC tests. 1999-03-15 23:45:28 +00:00
Kurt Zeilenga
02e6172bf8 Implement OL_HEADER_STDC (derived from AC_HEADER_STDC) with EBCDIC
support.  Will submit this to autoconf maintainers...
1999-03-15 21:40:57 +00:00