Kurt Zeilenga
e4f6d54877
New dn2id format with base/one/subtree indices (ldbm/bdb2)
...
New id2entry (id-less) format (ldbm/bdb2)
Removed id2children (ldbm/bdb2)
Added nextid database (ldbm)
Broke ldbmtest
Removed ldif2* tools (ldbm/bdb2)
Added slap tools (slapadd, slapcat, slapindex)
1999-08-17 19:00:59 +00:00
Kurt Zeilenga
7015167974
Add DN_INDICES search filter and has_children support. Move id2children
...
behind -UDN_INDICES.
1999-08-13 00:55:08 +00:00
Kurt Zeilenga
9c3ed0310b
Add copyright notices.
1999-08-06 23:07:46 +00:00
Kurt Zeilenga
170836751a
Namespace changes
...
added slap_ and ldbm_ to many structures
added typedefs to many structures
used typedefs
New main.c argument parsing with ldap url support (replacing -a address).
New sockaddr_in handling and support for multiple listeners.
1999-07-19 19:40:33 +00:00
Kurt Zeilenga
af26f023e7
Ignore idl_delete_key errors. LDBM isn't transactional, state
...
indexes could be hosed.
1999-04-29 01:42:43 +00:00
Hallvard Furuseth
3277a27b10
Remove unused variables
1999-03-06 16:29: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 Zeilenga
16b3111ac7
Got that logic backwards...
1999-02-03 03:50:11 +00:00
Kurt Zeilenga
40ba9bc80b
Don't try to free NULL idl. Did not cause a problem, though, as
...
idl_free() had insurance.
1999-02-02 22:46:21 +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
818bc57319
Minor cleanup of trace output.
1999-01-18 17:33:36 +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
Kurt Zeilenga
bbdac6ebca
debug messages incorrectly said "add" instead of "remove".
1998-11-18 20:27:21 +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
Hallvard Furuseth
f165bb2b96
strlen() needed string.h.
1998-11-11 16:35:58 +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
42e0d83cb3
Initial revision
1998-08-09 00:43:13 +00:00