Kurt Zeilenga
f1fde41ff8
remove an entry from its parent's children ID list when it's deleted.
...
Provided by "Gary D. Williams" <sasgwi@unx.sas.com>
1998-11-12 18:39:33 +00:00
Hallvard Furuseth
523fd2c891
Fix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
...
#include <stdlib.h> to get malloc & co various places,
#include <ac/string.h> to get strlen & co in (liblutil/setproctitle.c),
declare ch_malloc & co (slurp.h), avl_find_lin (avl.h), Malloc (ud/edit.c).
Also changed ch_malloc & co from char* to void* functions.
1998-11-11 23:37:38 +00:00
Hallvard Furuseth
f0688d71a1
Locks were not always released, in particular if something went wrong.
...
Fixed in slurpd and the slapd main dir. Slapd clients were not examined.
It also "felt right" to swap the order of closing dfp and rfp in slurpd
copy_replog(), so the last acquired lock is unlocked first.
1998-11-11 19:17:25 +00:00
Hallvard Furuseth
f165bb2b96
strlen() needed string.h.
1998-11-11 16:35:58 +00:00
Kurt Zeilenga
e03d88fcc4
Don't include portable.h. Headers can and should assume portable.h
...
has been included.
1998-11-11 01:38:02 +00:00
Kurt Zeilenga
376e1e02ff
Update configure to handle DEC OSF1 3.2 special cases.
...
-thread & -pthread are still treated as libraries, will need
additional work to use them as CFLAGS.
Eliminated HAVE_DCE define (was redundant) and its use. Code
now relies on draft4 and function existance tests.
1998-11-11 00:24:22 +00:00
Kurt Zeilenga
1fc810bfe5
Added support for ldap.conf file. See ldap.conf(5) for details.
...
Modified clients to reduce use of ldapconfig.h.edit.
ldap_{get,set}_option support is relatively complete. Needs
to be extended to support other "features" of OpenLDAP.
1998-11-10 23:37:30 +00:00
Hallvard Furuseth
8761bbb6e9
ber_scanf() returns unsigned long, not int
1998-11-08 02:56:47 +00:00
Kurt Zeilenga
21cb9a1c5d
Fix LDBM_SYNC typo
1998-11-07 17:14:35 +00:00
Kurt Zeilenga
3f1b97481c
Make flush_writes the default. Change option to 'dbcachenowsync'.
...
Change backend struct option to li_dbcachewsync.
1998-11-07 02:25:32 +00:00
Kurt Zeilenga
c63938a187
missing newlines bugfix from Dan.
1998-11-06 20:43:19 +00:00
Kurt Zeilenga
8777f818dc
Fix datum typo.
1998-11-05 21:56:08 +00:00
Hallvard Furuseth
904afbcf6d
Some gcc -W... cleanup
1998-11-05 08:03:48 +00:00
Hallvard Furuseth
853a1371d1
Some gcc -W... cleanup
1998-11-05 06:49:49 +00:00
Kurt Zeilenga
4646b76608
define _REENTRANT & _THREAD_SAFE to pull in reentrant/threadsafe prototypes.
...
modify apps to use TOLOWER/TOUPPER macros to ensure isupper/islower is
called when approprate.
1998-11-05 06:11:47 +00:00
Hallvard Furuseth
0c38adcfd8
Get struct sockaddr for slap.h
1998-11-05 05:05:05 +00:00
Hallvard Furuseth
83ec12246e
Enclose debug variables in #ifdef LDAP_DEBUG
1998-11-05 05:03:12 +00:00
Kurt Zeilenga
2c644a29f1
Needed -llutil before @LUTIL_LIBS@
1998-11-05 03:06:12 +00:00
Hallvard Furuseth
c91e7dd285
Avoid f_next name conflict
1998-11-05 02:46:29 +00:00
Hallvard Furuseth
bc6658be46
replace detach.c with lutil_detach()
1998-11-05 01:30:02 +00:00
Kurt Zeilenga
d33c87fc6f
HAVE_LWP_THR was renamed HAVE_THR.
1998-11-04 22:32:18 +00:00
Hallvard Furuseth
48b3cd0f3f
USE_LOCKF -> HAVE_FLOCK
1998-11-04 19:43:51 +00:00
Kurt Zeilenga
8333a03346
struct ldap is now opaque to clients.
...
updated clients to use ldap_get/set_options
ld_options is renamed ld_booleans. ldap-int.h has accessor macros.
updated libldap to use new accessor macros.
1998-11-04 01:41:00 +00:00
Kurt Zeilenga
d0a843b74d
Insert #ifdef SLAPD_ACLGROUPS
1998-10-27 06:34:01 +00:00
Stuart Lynne
7c52060c67
1. extend aclgroup's to be able to specify objectClassValue and groupAttrName
...
2. update print_acl() a bit and call it during aclparse if LDAP_DEBUG_ACL
1998-10-27 02:07:12 +00:00
Kurt Zeilenga
033cf4ebe7
Fixup bugs created by merge.
1998-10-26 17:37:35 +00:00
Kurt Zeilenga
d81b77e52d
Move sizelimit check such that it limits what's returned, not what is searched.
1998-10-26 03:33:30 +00:00
Kurt Zeilenga
43f29c3cb8
More header work toward draft-ietf-ldapext-ldap-c-api-01.
1998-10-26 01:49:56 +00:00
Kurt Zeilenga
cf50d9436c
Add Ken McGarrahan's LE/GE fix.
1998-10-25 18:40:10 +00:00
Kurt Zeilenga
393a5e21b8
Fix typo
1998-10-25 01:54:37 +00:00
Kurt Zeilenga
cbb281cc4e
remove old files
1998-10-25 01:50:47 +00:00
Kurt Zeilenga
2a869f5a99
merged with autoconf branch
1998-10-25 01:41:42 +00:00
Kurt Zeilenga
708e5abb08
Fixed memory leaks.
1998-10-24 06:11:30 +00:00
Kurt Zeilenga
32d9124fed
Updated derefAlias/DN to handle Entry R/W locks.
...
New alias.c provided by Stuart Lynne.
1998-10-24 04:01:20 +00:00
Kurt Zeilenga
6772a6e130
new files for general aliasing
1998-10-24 03:49:07 +00:00
Kurt Zeilenga
bf6c1e0ad2
Added Will Ballantyne's General Aliasing code.
...
Not quite sure if the entry lock handling is correct yet.
1998-10-24 02:42:38 +00:00
Kurt Zeilenga
d4c5308b3a
Use current schema objectClass 'groupOfNames' instead of 'groupOfUniqueNames'
...
Will consider moving to groupOfUniqueNames as part of OpenLDAP 2.0.
1998-10-24 02:33:17 +00:00
Kurt Zeilenga
238f7361d6
slapd returned "partial results and referral" even when no default
...
referral has been configured in the server. Fix provided by Hallvard.
1998-10-23 22:20:45 +00:00
Kurt Zeilenga
1d0e090998
remove lint reported by Hallvard
...
This could have caused a crash.
1998-10-23 22:00:20 +00:00
Kurt Zeilenga
856c134079
Fix uninitialized pointer bug.
1998-10-23 21:51:32 +00:00
Kurt Zeilenga
1c0b433a25
very bad typo.
1998-10-23 21:49:03 +00:00
Kurt Zeilenga
9f92954dff
ifdef Y2K -> ifndef LOCALTIME
1998-10-21 19:35:30 +00:00
Kurt Zeilenga
845e0073eb
more localtime -> gmtime changes
1998-10-21 19:29:20 +00:00
Kurt Zeilenga
68a473e6af
Use gmtime() instead of localtime()
1998-10-21 19:26:49 +00:00
Kurt Zeilenga
4a5d740e2e
Merged in per cache entry reader/writer locks from OPENLDAP_DEVEL_THREAD
1998-09-20 20:22:46 +00:00
Kurt Zeilenga
d1288c2fa9
Use ldapconfig.h instead of hardcoded paths.
1998-09-17 03:38:36 +00:00
Kurt Zeilenga
c246205958
Add ldap_ prefix to md5 calls.
...
Patch submitted by Chris Smith <csmith@platform.com>
1998-09-16 19:03:22 +00:00
Kurt Zeilenga
007cbfc8f1
Insert Y2K fix (hidden behind -DLDAP_Y2K).
1998-09-16 08:33:34 +00:00
Kurt Zeilenga
b1d48b89ba
Wrap $CC with quotes.
...
Patch provided by Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
1998-09-16 04:18:42 +00:00
Kurt Zeilenga
d9170de015
Okay, this really works.
1998-09-12 04:38:19 +00:00