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
Hallvard Furuseth
adab14395b
Define env.variable SLAPD_DEBUG to override the default debug level
1999-04-02 05:55:58 +00:00
Kurt Spanier
80400aba52
Fix ldbmcat crash problem: first use the key before deleting it!
1999-03-29 16:01:59 +00:00
Kurt Zeilenga
618a788953
wrap sys/param.h with HAVE_SYS_PARAM_H...
1999-03-29 01:55:49 +00:00
Kurt Zeilenga
30f953160f
Add wait4/3 detection.
...
Modify slapd_tester to use pid_t and wait macros. May need to
implement additional macros in ac/wait.h (in addition to
WEXITSTATUS and WIFEXITED).
1999-03-29 01:40:17 +00:00
Kurt Zeilenga
c9eacbdc64
Round 2 of connection management changes.
...
Mainly updated back-bdb2, back-passwd, back-shell to use slap_get_time().
1999-03-22 07:38:27 +00:00
Kurt Zeilenga
3550bc48c0
Add slapd -a address support. Allows you to bind to a specific
...
address. Useful for running multiple servers in a virtual hosting
environment.
Modified test001-ldif2ldbm to verify this functionality. Assumes
localhost is 127.0.0.1.
1999-03-17 03:56:25 +00:00
Juan Gomez
4be6bf9e9b
Added tests for modrdn and the proper operation of the deleteoldrdn field.
1999-03-10 22:31:26 +00:00
Juan Gomez
0df308410f
Expected output for modrdn tests.
1999-03-10 22:27:58 +00:00
Juan Gomez
63f5f5b4a3
Defined LDAPMODRDN in preparation to add tests for LDAP v2 modrdn.
1999-03-10 21:08:21 +00:00
Kurt Zeilenga
04769d5b82
-lldap requires $(KRB_LIBS)
1999-03-09 20:21:55 +00:00
Hallvard Furuseth
984bdfa605
Remove unused variables
1999-03-06 06:33:34 +00:00
Hallvard Furuseth
b4fe591430
include <stdlib.h> to get atoi()
1999-03-06 06:20:13 +00:00
Hallvard Furuseth
d3f433a626
printf(%ld, pid) -> printf(%ld, (long)pid)
1999-03-06 06:17:44 +00:00
Hallvard Furuseth
d8ac5cabb4
Shut up gcc -Wparentheses
1999-03-04 13:22:06 +00:00
Kurt Zeilenga
b2e0e58a22
Add 'tests' target.
1999-03-03 21:31:12 +00:00
Hallvard Furuseth
722d4c4332
include <stdlib.h> to get malloc & co
1999-03-03 17:42:17 +00:00
Hallvard Furuseth
7bfd11cb4c
cast printf(%ld) argument from pid_t to long
1999-03-03 17:40:08 +00:00
Kurt Zeilenga
e8605dc9f1
Fix make clean/veryclean
1999-03-02 20:00:55 +00:00
Kurt Spanier
5d2699b7ce
Introduction of first version of transaction processing (TP) into BDB2.
1999-03-01 11:30:18 +00:00
Hallvard Furuseth
246e269acc
Cast char' arguments to ctype.h functions to
unsigned char'.
...
These functions require their arguments to be in the range of `unsigned char'.
1999-02-22 19:29:42 +00:00
Kurt Spanier
2889c67adf
Client programs for test008-concurrency moved to subdir tests/progs.
...
Building tests/progs/*.c in the main build process.
==> Test-suite must be called by 'make test', or 'make test-bdb2'
1999-02-22 11:28:01 +00:00
Hallvard Furuseth
63be2a00b5
isblank() is nonstandard, use isspace()
1999-02-20 08:15:21 +00:00
Hallvard Furuseth
d66726da21
slapd-tester should be ./slapd-tester
1999-02-20 07:49:12 +00:00
Hallvard Furuseth
c41226d997
Link with all of $(LIBS) instead of $(LDAP_LIBPATH) $(XLIBS)
1999-02-20 07:39:48 +00:00
Kurt Spanier
3a9f96ec0d
Code clean-up.
1999-02-18 15:33:15 +00:00
Kurt Spanier
ac4cb22f1c
Elimination of entry- and cache-level locking in back-bdb2.
...
Slight adaption of concurrency-test to enable even more writers/readers.
1999-02-17 11:13:22 +00:00
Kurt Spanier
39f0066db4
Addition of a new Concurrency Test fro testing slapd performance and
...
correctness of locking schemas in backends.
In back-bdb2 open NEXTID during startup and close at shutdown.
1999-02-15 10:49:20 +00:00
Kurt Spanier
548942edbe
BugFix and selection in the test-suite of the bdb2 backend-specific
...
slapd server timing via a new slapd command line option '-t'.
1999-02-12 15:22:43 +00:00
Kurt Zeilenga
eca967ea1d
Fixup BDB2 switching. Use 'test' instead of '['. Use '=' instead of '=='.
...
Use $BACKEND instead of BDB2. Fallback to LDBM if $BACKEND is not BDB2.
1999-02-08 20:08:25 +00:00
Kurt Spanier
42f6e78dd4
Integration of the BDB2 backend into the new init/startup/shutdown schema.
...
Integration into ./configure ( --enable-bdb2 ).
Adaptation of the test-suite ( 'make' -> ldbm; 'make bdb2-local' -> bdb2 ).
Minor fixes in slapd/libldbm.
1999-02-08 11:42:14 +00:00
Kurt Spanier
314f3f6ed7
Introduction of a backend startup/shutdown function to make backend-specific
...
initialization after reading slapd.conf, and before starting the daemon
1999-02-01 17:37:43 +00:00
Kurt Zeilenga
695ad44694
Place the arg and pid files into the test-* directories.
1999-01-21 18:08:33 +00:00
Kurt Spanier
68a8798594
Definition of slapd pid and args files as slapd.conf general parameters;
...
introduction of pid/agrs parameters to the test-suite slapd.conf files;
creation of sub-directory test/var for storage of pid/args files during test;
update of the slapd and slapd.conf man pages.
(The change reduces dependency on ldapconfig.h, since SLAPD_PIDEXT
and SLAPD_ARGSEXT are deleted from the code.)
1999-01-21 15:53:54 +00:00
Kurt Zeilenga
19a17982c6
suffixes need to be stored in normalized uppercase format
1999-01-20 05:43:33 +00:00
Kurt Zeilenga
e2a15115b0
Update slap_conn to maintain client provided dn and bound dn.
...
Update slap_op to maintain dn and ndn (derived from conn->c_dn).
Update ldbm_back_bind to return actual bound dn (including rootdn)
for use in slapd_conn. Other backends use client dn.
Modify other codes to use ndn (normalized uppercase dn) most everywhere.
Aliasing, Suffixing and modrdn could use more work.
Applied suffixing to compare and modrdn.
1999-01-19 05:10:50 +00:00
Kurt Zeilenga
7388974468
Disable implicit session defaulting.... you never know what someone
...
might have in their ldap.conf(5) file.
1999-01-14 22:22:45 +00:00
Kurt Zeilenga
b7beec1663
Initial version of the experimental 'back-perl'
...
John's still working on the 'perl-test' (the perl backend test module).
1999-01-14 06:33:09 +00:00
Kurt Zeilenga
33999dc60a
Be quite about deleting data symlink
1999-01-13 23:38:01 +00:00
Kurt Zeilenga
334768c1bb
Update build environment to fix VPATH support.
...
make depend, make tests, and make install all work when build directory
is not the $srcdir.
Also modified library handling such that -lpthread more likely to be last.
WARNING: new orderring requires use of LDFLAGS to set global loader options
such as -L/usr/local/lib. If you put this in LIBS, some libraries
may not be found a link time.
Likely broke Kerberos/LDAPD support. Don't have those in my testbed.
1999-01-10 02:25:41 +00:00
Kurt Zeilenga
60b6d7185c
Enable dbcachenoWsync for replica.
1999-01-02 23:29:06 +00:00
Kurt Zeilenga
cfa450d078
Fix schema check bug... actually charray needs to dup strings on
...
add/merge as we now free strings agressively. Improved debug
message to include name of missing required attribute and added
check for 'operational attributes'. This check should be used
everywhere we need to test for operational attributes (add/modify).
Also, enabled schema checking for tests (and fixed resulting
problems by adjusting oc.conf).
1998-12-28 23:43:04 +00:00
Kurt Zeilenga
6c2949ed86
Change cache.c assert logic based on Hallvard's suggestion.
...
"Check that the entry has no writers before removing it from the
cache" sounds more sensible to me than "check that it *has* writers"
before removing it.
I've also changed the default cachesize for tests to 4. This
should help discover such problems.
1998-12-10 19:20:15 +00:00
Kurt Zeilenga
41f649ef16
Skip replication test if slurpd doesn't exist.
...
Update Install document with testing step and other minor changes.
1998-11-30 20:41:52 +00:00
Kurt Zeilenga
475fd6dc45
"make veryclean" now lives up to its name.
1998-11-22 06:24:59 +00:00
Kurt Zeilenga
2a869f5a99
merged with autoconf branch
1998-10-25 01:41:42 +00:00
Kurt Zeilenga
8c5868b500
Add basic support for MD5 and SHA1 passwords.
...
SHA1 support is contributed by Daniel J. Gregor <dj@gregor.com>
MD5 support is contributed by me <kurt@OpenLDAP.org>
Uses public domain MD5 routines
Uses ISC/IBM freely redistributable Base64 routines
SHA1 support requires external SHA1 routines
1998-09-02 21:31:35 +00:00
Kurt Zeilenga
3d6c77cbc7
Fixed rm to use more standard expression to ignore CVS directories.
...
Patch provided by dj@gregor.com .
1998-08-30 18:12:03 +00:00
Kurt Zeilenga
d831315a26
Fixed various rm statements to use more common expression format.
...
Patch provided by dj@gregor.com .
1998-08-30 18:10:20 +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
ad8929fb47
Added filter to populate test
1998-08-19 01:29:52 +00:00
Kurt Zeilenga
70c5050d85
Added slurpd log and extend slurpd sleep to 15 seconds
1998-08-19 00:11:06 +00:00
Kurt Zeilenga
1c96c959bc
Moved both logs into test-db to be consistent with out output files.
1998-08-15 02:30:02 +00:00
Kurt Zeilenga
93557d325a
Fixed typo of SLAVELOG and made sure test directories exist.
1998-08-15 02:21:07 +00:00
Kurt Zeilenga
36445924b5
Create log files for slapd, sleep between tests to let things exit.
1998-08-14 23:59:42 +00:00
Kurt Zeilenga
f96fee80d3
Added better rm expressions.
1998-08-14 05:04:45 +00:00
Kurt Zeilenga
c157ae7997
Added better rm expression
1998-08-14 05:04:31 +00:00
Kurt Zeilenga
04ff180cbf
Modified make system to support CVS instead of RCS
1998-08-09 01:24:49 +00:00
Kurt Zeilenga
42e0d83cb3
Initial revision
1998-08-09 00:43:13 +00:00