Commit Graph

168 Commits

Author SHA1 Message Date
Hallvard Furuseth
f3880e5633 Remove lint 1999-09-06 04:42:20 +00:00
Hallvard Furuseth
1cde481298 Move `#include "ldap_defaults.h"' into slap.h, which #ifdefs on it. 1999-09-03 23:10:05 +00:00
Hallvard Furuseth
c09a2c63e7 Cleanup:
Fix printf formats, remove unused variables, add missing prototypes in slapd,
add static/const, add some return types or change to void return type.
1999-09-02 08:05:17 +00:00
Kurt Zeilenga
f252bde681 if/else clause was reversed and attr->values used where values
should have been.
1999-09-01 07:29:07 +00:00
Hallvard Furuseth
10bbb7c9ff Typo in debug message 1999-08-31 00:40:07 +00:00
Hallvard Furuseth
d08a8cbbd6 Initialize lineno 1999-08-22 03:32:13 +00:00
Kurt Zeilenga
2a74677799 const'fication 1999-08-20 19:00:44 +00:00
Kurt Zeilenga
52ecfc74d2 s/slapentry/slapadd/ 1999-08-19 22:27:24 +00:00
Kurt Zeilenga
b6753b47d3 s/HAVE_QUIPU/BUILD_QUIPU/ 1999-08-19 22:26:35 +00:00
Kurt Zeilenga
ebce52fa52 Free ldif buffer... test001 now shows no leaks! 1999-08-19 18:19:20 +00:00
Kurt Zeilenga
5b4e2498d9 Add CSRIMALLOC support 1999-08-19 18:13:36 +00:00
Kurt Zeilenga
a1987f662d Centralize slap init/startup/shutdown/destroy into slapcommon 1999-08-19 17:20:15 +00:00
Kurt Zeilenga
8ead8c5fd9 Clean up debug messages. 1999-08-19 00:40:18 +00:00
Kurt Zeilenga
fc2b55f53d Fix typos in 'make clean' 1999-08-18 07:20:30 +00:00
Kurt Zeilenga
ac50982e37 Add schema checking, continue mode, and fix a few leaks. 1999-08-18 01:45:59 +00:00
Hallvard Furuseth
56bbc0b486 Add missing progname argument to fprintf 1999-08-17 21:10:48 +00:00
Kurt Zeilenga
508248c784 Make -d levels additive 1999-08-17 19:30:40 +00:00
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
Hallvard Furuseth
3b5b9e1e5f back-ldbm: Kill ldbm_ignore_nextid_file, replace with slapMode==SLAP_TOOL_MODE 1999-08-16 07:09:28 +00:00
Kurt Zeilenga
5007e92278 Fix empty dn. 1999-08-13 22:43:21 +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
00ba798bd4 Left DN_INDICES defines by mistake... it's not ready for prime time yet.
Change prefixes to make eyeballing .dbb files easier
1999-08-12 01:05:33 +00:00
Kurt Zeilenga
1ffe5122b7 Implement DN_PARENT_PREFIX and framework for DN_SUBTREE_PREFIX. 1999-08-11 20:59:28 +00:00
Kurt Zeilenga
82ac9547c9 Removed redundant dn_normalization(strdup(ndn)) from dn2id codes.
Added initial DN_INDICES code behind #ifdef DN_INDICES.
  Generates only equality index.  Will add parent and subtree indices next.
1999-08-11 02:57:07 +00:00
Kurt Zeilenga
db6e9af351 Remove lint. 1999-08-09 18:48:23 +00:00
Hallvard Furuseth
9f67a2e6c9 Separate put_nextid() out from next_id_write() in back-ldbm/nextid.c.
Use it in tools/ldif2id2entry.c instead of making the NEXTID file "by hand".
1999-08-08 07:28:44 +00:00
Kurt Zeilenga
136bb9c231 Use a cursor to step through ID_BLOCKS. 1999-08-07 21:14:24 +00:00
Howard Chu
366e8fd5ad Final round of module changes 1999-08-07 11:37:43 +00:00
Howard Chu
0743e963ca Modified to use libtool's ltdl instead of gmodule 1999-08-07 07:58:11 +00:00
Kurt Zeilenga
9c3ed0310b Add copyright notices. 1999-08-06 23:07:46 +00:00
Hallvard Furuseth
496f9b1476 Factor out ldif entry parsing so all ldif2* tools will read the same format.
Valid LDIF files are parsed the same way as before.
1999-08-06 03:01:23 +00:00
Hallvard Furuseth
71fa2027a7 Typo: s/elineno, elineno/elineno, lineno/ in error message 1999-08-06 02:02:34 +00:00
Kurt Zeilenga
e0691dfbc0 create SASL_LIBS to hold -lsasl
create SECURITY_LIBS (top.mk) to order $SASL_LIBS $KRB_LIBS $TLS_LIBS
use $SECURITY_LIBS in Makefile.in's instead of $KRB_LIBS $TLS_LIBS
1999-08-05 02:25:19 +00:00
Kurt Zeilenga
7b6a923937 Add basic configure support of --enable-quipu 1999-08-05 01:23:04 +00:00
Kurt Zeilenga
bc73fffe12 Update projects to use ldif2common.*
Remove lint
1999-08-05 00:08:26 +00:00
Kurt Zeilenga
9ea7a42b99 Add copyright notice and a few comments here and there 1999-08-04 23:59:13 +00:00
Hallvard Furuseth
023e18fb4a s/return 0/return EXIT_SUCCESS/ in main(), #include <ac/stdlib.h> to get EXIT_* 1999-08-04 06:05:05 +00:00
Hallvard Furuseth
c0a0028c43 Align somewhat with ldif2ldbm: Obey HAVE_SYS_PARAM_H, cast strcasecmp to AVL_CMP 1999-08-04 05:53:50 +00:00
Hallvard Furuseth
48b63d4f16 Factor out ldif2* intialization to ldif2common.c 1999-08-04 05:49:36 +00:00
Kurt Zeilenga
354d49fb9a List supportedSASLmechanisms based upon what sasl_listmech() returns. 1999-08-03 23:23:05 +00:00
Kurt Zeilenga
df8f7cbb9b s/exit(1)/exit(EXIT_FAILURE)/
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Hallvard Furuseth
c34a8d8f5e Kill lber_debug 1999-08-01 20:23:35 +00:00
Hallvard Furuseth
5d42c1d022 Align with ldif2id2children.c: s/int vlen;/ber_len_t vlen;/ 1999-08-01 17:54:09 +00:00
Hallvard Furuseth
79cb528e7e s/getopt() != -1/getopt() != EOF/ 1999-08-01 15:35:53 +00:00
Kurt Zeilenga
48d5465ab7 Add support for "foo:< http://localhost/path.
Requires FreeBSD's -lfetch...
Implementations to other URL APIs encouraged.
Probably should be moved to -llutil.
1999-07-31 03:23:26 +00:00
Kurt Zeilenga
b73b0c6158 Enhance LDIF handling
ldapsearch:
    use draft guidelines for determining when to use
    -t only writes binary attributes to files
    -tt writes all attributes to files
    output now lists URL instead of path to such files
    -T dir can be used to specify directory to create temp files in
    -V urlprefix can be used to change the URL prefix
    LDIF is now commented (can be disabled using -LL)
    LDIF now contains version attribute (can be disabled with -LLL)
LDIF:
    put interface changed to allow caller to specify how to encode
    put interface uses draft guidelines for determine when to base64 encode
    wrapping kludged to match old off by one bug
Tests:
    removed trailing space from some attributes (to avoid base64 encoding)
    enabled -LLL in defines.sh (should sed output to remove
        wrapping/comments/redundant separators)
Misc:
    updated codes outputting LDIF to use new put interface
TODO:
    handling of version attribute on input
    handling of URLs on input (ie: fetch URL)
1999-07-30 23:00:02 +00:00
Julio Sánchez Fernández
18393e882c When recreating a database from an ldif file created by ldbmcat,
NEXTID would not be set to one higher than the highest number
used, but to one higher than the last entry in the ldif file.
1999-07-30 18:53:23 +00:00
Julio Sánchez Fernández
3a1aab088d IDs in the LDIF input were not being used in id2children creation. 1999-07-30 18:37:00 +00:00
Kurt Zeilenga
a39cf6f93d Add support for LDAP_ALL_OPERATIONAL_ATTRIBUTES ("+") (based on
LDAPext discussions).
Add attrs and attrsonly support to monitor/config info.
Add rdn attributes to schema/monitor/config.
Add extensibleObject objectclass to schema/monitor/config.
Add top objectclass to rootdse/monitor/config.
Remove opattrs option from send_search_entry().
1999-07-24 03:39:23 +00:00
Kurt Zeilenga
68d561a97b Add limited LDAP_INVALID_DN_SYNTAX support. dn_normalize{,_case}() now returns
NULL does not meet basic syntax rules.
1999-07-22 17:14:42 +00:00