Commit Graph

108 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
1bcec8bf6a Add LBER_ and LDAP_ memory allocators/deallocators for internal
library use:
  LBER_ macros expand to system routines.
  LDAP_ macros expand to new ber_ allocators.

Add ber_ and ldap_ memory allocators/deallocator:
  ber_ routines are wrappers of LBER_ macros.
  ldap_ routines are wrappers of ber_ routines.

Removed safe_realloc() macro from various files.  This issue
(if an issue) should be resolved across whole package.

ldapmodify.c now uses ber_ allocators to resolve ber_bvfree()
vs. WIN32 multiple heaps issue.

These changes should facilate implementation of
  ber_set_option( NULL, LBER_OPT_MEMORY_FN, ...)
and
  ldap_set_option( NULL, LDAP_OPT_MEMORY_FN, ...).
1999-05-29 01:19:14 +00:00
Juan Gomez
81f47aba80 Add special case tests to avoid regressions. 1999-05-27 00:56:43 +00:00
Juan Gomez
ae2fa90929 Add new output file name. 1999-05-27 00:31:30 +00:00
Juan Gomez
96929b07a5 Need output for various tests in differen files so we know which specific
part fails if it does.
1999-05-27 00:29:39 +00:00
Juan Gomez
b372720819 Added nis ldif in the right place. 1999-05-27 00:20:41 +00:00
Juan Gomez
f8e47da5ed Fixed path to ldif file 1999-05-26 23:52:27 +00:00
Juan Gomez
1084618dd2 Point to new dir for ldif file. 1999-05-26 23:27:03 +00:00
Juan Gomez
385dab9176 Point to new dir. 1999-05-26 23:18:50 +00:00
Juan Gomez
96092b4d5a Access x added! 1999-05-26 19:18:05 +00:00
Juan Gomez
336e6e604e Trying to change access to this file... 1999-05-26 19:15:57 +00:00
Juan Gomez
314b69f6f1 Change conf for nis test. 1999-05-26 18:49:09 +00:00
Juan Gomez
5ddc8d4fd8 Make it executable. 1999-05-26 18:46:04 +00:00
Kurt Zeilenga
7d2f6580c0 Filter timestamps, etc., from all test inputs before compare. 1999-05-21 16:50:51 +00:00
Kurt Zeilenga
b1d315c51f Add CLIENTDIR to alllow easy selection of alternative clients directory. 1999-05-21 00:14:38 +00:00
Juan Gomez
9c335d1ed0 Added the targets test-nis-schema, test-nis-schema-ldbm, and
test-nis-schema-bdb2 to start a server using the NIS-LDAP
schema.
1999-05-12 03:29:06 +00:00
Juan Gomez
6cf71210f7 Script that starts a server with NIS schema and sample database. 1999-05-12 03:22:48 +00:00
Juan Gomez
a5cf0bf36b Config files that use the NIS related schema. 1999-05-12 01:03:51 +00:00
Hallvard Furuseth
786bbe4fc1 enclose macro arguments in () 1999-04-30 00:35:27 +00:00
Kurt Zeilenga
f23019c37a Disable compare for now. Need to plug in passwd and
expected output files.
1999-04-29 07:03:18 +00:00
Kurt Zeilenga
9b8a5036dd Update back-passwd based on patches from howard.chu@platinum.com.
Modified by me to dn_*() and attr_*() functions and to use
uidObject and to handle search scopes better.  Could use some
more work.  A fun project for anyone wanting to learn how
backends work.
Modified dn_parent and dn_rdn to accept be=NULL (to bypass
be_issuffix check).  These functions should be generalized
and moved to -lldap.  A project for another day.
1999-04-29 06:50:00 +00:00
Kurt Zeilenga
06b5db46eb Backout last change 1999-04-23 20:11:15 +00:00
Kurt Zeilenga
2a92589ecd sh portability changes 1999-04-21 05:59:01 +00:00
Kurt Zeilenga
141601ba9e Provide 'make test', 'make ldbm', and 'make bdb2' information. 1999-04-11 21:47:42 +00:00
Kurt Zeilenga
6585d34a0f 'make test' now tests both BDB2 and LDBM backends.
'make bdb2' tests only BDB2
'make ldbm' tests only LDBM
Fix up scripts (previous changes broke BDB2 testing)
1999-04-10 04:42:33 +00:00
Kurt Zeilenga
6da69382f7 Use 'cachesize 0' for repl and acl tests.
Remove disable write sync (dbcachenowsync) in master (for concurrency test).
1999-04-10 01:40:33 +00:00
Kurt Zeilenga
21f49f3b27 Fix VPATH support. 1999-04-08 02:27:39 +00:00
Kurt Zeilenga
80b8691eac Fix VPATH support. 1999-04-08 02:18:54 +00:00
Hallvard Furuseth
a66f4db90b Protect against failed commands in Makefile.in 1999-04-06 01:00:31 +00:00
Hallvard Furuseth
2032577773 Do closedir() 1999-04-04 05:06:49 +00:00