Hallvard Furuseth
2b32e6afd7
Plug memory leaks
1999-04-04 21:34:33 +00:00
Kurt Zeilenga
a8a05cbe48
Update NT port with support for -lldap_r and -lldbm.
...
Also add initial slapd .dsw/.dsp files. Still needs work (mainly syslog).
1999-03-01 22:37:05 +00:00
Kurt Zeilenga
2a20131eaa
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.
1999-02-11 18:19:52 +00:00
Kurt Spanier
8107ec91f0
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.
1999-02-05 13:20:57 +00:00
Kurt Zeilenga
7903584911
Use idl_fetch_one() to fetch single id_blocks instead of separate
...
ldbm_cache_fetch() codes.
1999-02-03 17:14:01 +00:00
Kurt Zeilenga
ace9fb68c5
Fix ALLIDS bugs
...
Fix memory leaks
1999-02-03 04:45:08 +00:00
Kurt Zeilenga
433e8ad645
Add a few comments to help detail some of these functions.
1999-02-02 03:40:19 +00:00
Kurt Zeilenga
3e48937ac8
Fix idl_firstid to return NOID when !(nids > 1) instead of when (nids == 1)
...
Fix idl_nextid not to skip an ID if ID not in list.
Both of these should not occur if used correctly, but cheap insurance
against incorrect usage is welcomed.
1999-02-02 02:46:18 +00:00
Kurt Zeilenga
59a288abb5
Rewrite IDL block code to use simple array and accessor macros
...
instead of array with overlayed struct fields. (which is inherently
non-portable).
Change maxid check in insert to be greater than or equal instead
of equal.
Use SAFEMEMCPY.
1999-01-31 07:55:53 +00:00
Kurt Zeilenga
b815f61e0d
Wrap db2 mutex with -DHAVE_BERKELEY_DB2 (should be hidden in -lldbm) ITS#35
...
Unwrap ldbm_datum_init()
1999-01-07 03:28:08 +00:00
Kurt Spanier
bfb27120be
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().
1998-12-29 17:28:45 +00:00
Hallvard Furuseth
7e6ad5100c
Protoized, moved extern definitions to .h files, fixed related bugs.
...
Most function and variable definitions are now preceded by its extern
definition, for error checking. Retyped a number of functions, usually
to return void. Fixed a number of printf format errors.
API changes (in ldap/include):
Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.
A number of `extern' declarations are left (some added by protoize), to
be cleaned away later. Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.
1998-11-15 22:40:11 +00:00
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
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
8777f818dc
Fix datum typo.
1998-11-05 21:56:08 +00:00
Hallvard Furuseth
853a1371d1
Some gcc -W... cleanup
1998-11-05 06:49:49 +00:00
Kurt Zeilenga
2a869f5a99
merged with autoconf branch
1998-10-25 01:41:42 +00:00
Kurt Zeilenga
2054d40b7c
Added support for SleepyCat DB2 DBI.
...
Derived from public posting to ldap@umich.edu
by Kurt Spanier <kurt.spanier@zdv.uni-tuebingen.de>
See Make-common.dist for DB2 options
1998-09-03 00:50:13 +00:00
Kurt Zeilenga
27496ee554
<sys/socket.h> is required if CLDAP is enabled.
1998-08-28 21:56:24 +00:00
Kurt Zeilenga
2ec25ef881
Merged files from branch REGEX_REMOVAL. Despite name, this merge
...
adds POSIX RegEx (and removes BSD re_comp/re_exec) support.
* POSIX RegEx is not currently included in the distribution, however
we will probably add Henry Spencer's REGEX library soon.
* ACL Group functionality is also included in this merge!
1998-08-21 06:33:42 +00:00
Kurt Zeilenga
c6e7dd892e
CLDAP need <sys/socket.h>
1998-08-20 00:13:01 +00:00
Kurt Zeilenga
49d40a26f8
Added ldbm flush on write code which uses slapd.conf option.
1998-08-19 00:10:02 +00:00
Kurt Zeilenga
dfeabf5213
Fixes from Allan Lynne
1998-08-18 17:51:53 +00:00
Kurt Zeilenga
97e88afb5e
Sync the cache per Stuart Lynne <sl@poste.com>
1998-08-17 23:34:12 +00:00
Kurt Zeilenga
835d3ef9bd
LDAPworld P5: SLAPD Negation of Non-Indexed Search
1998-08-09 02:39:52 +00:00
Kurt Zeilenga
42e0d83cb3
Initial revision
1998-08-09 00:43:13 +00:00