Commit Graph

137 Commits

Author SHA1 Message Date
Kurt Zeilenga
7c28aa058c Add password check and generation check.
Modify tests to use -h "ldap://localhost:port/" instead of -p port.
1999-12-12 18:45:06 +00:00
Kurt Zeilenga
4cc712db53 Add <ac/param.h> to wrap <sys/param.h> 1999-11-01 17:21:24 +00:00
Howard Chu
e99eab787f Use new macros from configure.in to accomodate NT/Mingw32 environment.
See README 1.27 log
1999-10-28 07:31:59 +00:00
Kurt Zeilenga
7db89cb1c0 Use $$ and other oddities. 1999-10-26 22:52:53 +00:00
Kurt Zeilenga
5cb377302b Add simple test for additive acl. 1999-10-21 23:17:17 +00:00
Kurt Zeilenga
2644018bc2 Add basic flow control tests 1999-10-21 21:23:43 +00:00
Kurt Zeilenga
5e459c4cf8 Use implicit 'by * none' and =rs 1999-10-21 21:16:18 +00:00
Kurt Zeilenga
3f9ba7e05a Minor acl optimizations. 1999-10-21 18:48:16 +00:00
Ben Collins
bf260f1d95 * tests/scripts/defines.sh: add ${LD_LIBRARY_PATH} to the LD_LIBRARY_PATH
export so we don't clobber anything the user already has set
1999-09-29 01:01:13 +00:00
Ben Collins
b7dd47c4cb * configure.in: add --enable-dynamic option for linking our local binaries
with the shared libraries instead of static, defaults to no
* build/lib-shared.mk: if LINK_BINS_DYNAMIC is set we create a symlink to
  the .so and .so.# file along with the .a and .la files
* build/lib.mk: make sure the above links get removed on clean target
* build/top.mk: add define for LINK_BINS_DYNAMIC
* tests/scripts/defines.sh: add export for LD_LIBRARY_PATH so that tests will
  run without requiring installation of libraries when we use --enable-dynamic
  (LD_LIBRARY_PATH is always set, since it can't really hurt).
1999-09-29 00:56:43 +00:00
Kurt Zeilenga
35655c056f Reimplement LDBM_SYNC/LDBM_NOSYNC code (dbnosync).
Old code applied sync flags to store(), however supported DBMs
require such flags to be specified during open().  The new
code now applies flags in ldbm_cache_open (which calls ldbm_open).
ldbm_cache_close() now calls ldbm_sync().  This will force
a updating of on-disk contents after each LDAP operation.
The old code either failed to sync the on-disk contents until
close or synced on every store.   Per LDBM operation syncing
*should* be safe enough... real data safety requires transactions.
Removed nosync option from BDB2 as it is not compatible with
txn support.
Also added code to disable DBM level locking as slapd is only
process acessing the databases (dbnolocking).
1999-09-23 19:49:20 +00:00
Kurt Zeilenga
1c52d43149 Fix shbang magic "#! /bin/sh" (correct) vs "#!/bin/sh" (incorrect) 1999-09-10 02:15:03 +00:00
Kurt Zeilenga
e642a1b9cd Add OpenLDAP RCSid 1999-09-08 22:52:19 +00:00
Kurt Zeilenga
d429ac3e53 Add missing * in last commit 1999-09-02 08:40:22 +00:00
Kurt Zeilenga
d0deb9b489 Add OpenLDAP RCS id and copyright 1999-09-02 00:56:32 +00:00
Kurt Zeilenga
41e57c041f Add OpenLDAP RCS id 1999-09-02 00:52:43 +00:00
Kurt Zeilenga
0197ec6f04 Remove use of quipu object classes 1999-08-31 17:09:17 +00:00
Kurt Zeilenga
68744ced8d fix dn2id delete bug... breaks modrdn. 1999-08-26 00:51:27 +00:00
Kurt Zeilenga
05532e03f9 Update test005-modrdn to handle success without entries 1999-08-26 00:22:05 +00:00
Kurt Zeilenga
59d3e50ae3 s/ldif2ldbm/slapadd/ 1999-08-22 17:10:23 +00:00
Kurt Zeilenga
c0aa6fa4e6 Rename test001 from test001-ldif2ldbm to test001-slapadd (repo move). 1999-08-22 17:08:41 +00:00
Kurt Zeilenga
9e82379b6e More CSRI malloc debugging support and destroy sockbuf fix.
Test008 now runs without leak.
1999-08-19 18:48:17 +00:00
Kurt Zeilenga
e290eacb21 slapd_tester should be linked with LIBS 1999-08-19 18:36:10 +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
Kurt Zeilenga
375995be50 Another bogus postalcode removed 1999-08-17 18:46:08 +00:00
Kurt Zeilenga
4e60147654 Strip bogus postcode from entry 1999-08-17 18:44:53 +00:00
Kurt Zeilenga
06a895ff2c Remove gmon files 1999-08-07 04:38:33 +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
44b4bda011 base64 encode userPassword 1999-08-05 00:56:54 +00:00
Kurt Zeilenga
ecbb75f930 Update the sleep to 10 seconds (last commit only changed the echo) 1999-08-03 21:47:35 +00:00
Kurt Zeilenga
64be0a23bb 5 seconds just isn't long enough 1999-08-03 21:46:44 +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
eaf331f4aa Use $SLURPD_DEBUG 1999-08-01 21:33:37 +00:00
Kurt Zeilenga
07b734035d Kludge ldapmodify to accept "version: 1" in LDIF input. 1999-07-31 00:35:30 +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
Kurt Zeilenga
17a975b6fb Very crude LDIF changes:
add MODRDN newSuperior support
	add '#' support to ldapmodify (but not slurpd and ldbm tools)
1999-07-29 21:25:39 +00:00
Kurt Zeilenga
9c61bc561f Return LDAP_CONSTRAINT_VIOLATION if user attempts to modify
a non-user-mod attribute (such as timeStamps).
Move generation of add_modify_attrs to frontend.
update of add_modify_attrs on modrdn needs work (currently
not updated to maintain consistency with replicas).
1999-07-27 20:00:31 +00:00
Kurt Zeilenga
73276e84ae Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS.
Includes support for update referral for each replicated backend.
	Reworked replication test to use update referral.
Includes major rewrite of response encoding codes (result.c).
Includes reworked alias support and eliminates old suffix alias codes
(can be emulated using named alias).
Includes (untested) support for the Manage DSA IT control.
Works in LDAPv2 world.  Still testing in LDAPv3 world.
Added default referral (test009) test.
1999-07-16 02:45:46 +00:00
Hallvard Furuseth
eb9f0359ef fix typo in rm command 1999-07-14 23:13:34 +00:00
Julio Sánchez Fernández
6064e66c05 Use $(TLS_LIBS) 1999-07-13 19:22:14 +00:00
Kurt Zeilenga
b8edef2b2c Copy LDBM bind "ACL_AUTH" and SASL framework to bdb2. 1999-07-07 18:47:51 +00:00
Kurt Zeilenga
51d1c90887 unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH 1999-07-05 06:26:26 +00:00
Kurt Zeilenga
bf8eaf1f1e ldapmodify/add: Fix -P option
tests: use "ldapadd" instead of "ldapmodify -a"
1999-06-29 01:17:58 +00:00
Kurt Zeilenga
33dd61f035 Add support for "env LDAP_PROTO=n make ldbm" where n is 2 or 3.
3 doesn't work YET.
1999-06-28 23:46:16 +00:00
Kurt Zeilenga
21e081dc5b Separate autoconf generated values from "defaults".
ldap_defaults.h incorporates non-generated ldapconfig.h values.
	ldap_config.h.in is new template for autoconf generated defaults
		(namely directories and paths)
	ldap_config.h.nt, NT template (must be manually copied)
	s/<ldapconfig.h>/<ldap_defaults.h>/
	s/DIRSEP/LDAP_DIRSEP/ & s/DEFAULT_/LDAP_/
1999-06-17 03:54:25 +00:00
Kurt Zeilenga
6380786169 Add '^' and '$' to ACLs RE's. 1999-06-15 19:41:42 +00:00
Juan Gomez
fac246b834 Sync this files for this example to work properly. 1999-06-10 01:25:55 +00:00
Kurt Zeilenga
21c70857f1 s/<stdlib.h>/<ac/stdlib.h>/ 1999-06-03 00:37:44 +00:00
Kurt Zeilenga
2c6f4abc0a DEFAULT_DIRSEP -> DIRSEP 1999-05-29 19:10:01 +00:00
Kurt Zeilenga
6c9aa52b3b Fix allocator typo 1999-05-29 01:26:12 +00:00