Sang Seok Lim
d997105915
.conf and .schema files for test31-component-filter
2004-08-28 03:53:41 +00:00
Sang Seok Lim
2af6457771
This patch is for a component filter. please refer ITS#3260 for detail
...
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".
2004-08-26 00:06:39 +00:00
Pierangelo Masarati
2aacf1d353
problems: asort() is not available in all awk implementations
2004-08-25 11:43:21 +00:00
Pierangelo Masarati
20d923fac9
works with IBM db2 as well; at this point the tsts are assumed to wok with any RDBMS that allows write operations
2004-08-25 11:28:14 +00:00
Pierangelo Masarati
b68129fc39
rework SQL tests invocation; improve all tests
2004-08-24 09:26:39 +00:00
Pierangelo Masarati
0ed0cd66bf
more on back-sql test
2004-08-20 16:12:49 +00:00
Pierangelo Masarati
3052ce6ffd
added back-sql test under conditions; needs a README...
2004-08-20 12:44:32 +00:00
Pierangelo Masarati
4427633777
misc cleanup and improvements; please use @URIx@ and @PORTx@ in configurations/tests
2004-07-26 13:45:28 +00:00
Pierangelo Masarati
9f6f5491fe
slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay
2004-07-25 23:16:40 +00:00
Pierangelo Masarati
0858d540d2
improve relay backend/rwm overlay test
2004-07-20 00:28:15 +00:00
Pierangelo Masarati
3c50386b88
ad test for back-relay and rwm overlay
2004-07-12 00:19:15 +00:00
Pierangelo Masarati
4f593f55a6
improve test028; add test029 about glueing ldap databases with identity assertion
2004-06-20 23:01:25 +00:00
Pierangelo Masarati
47e5f301f9
improve SASL in id assertion test
2004-06-19 15:46:38 +00:00
Pierangelo Masarati
140d1f6e9b
improve SASL detection/usage in test
2004-06-19 10:36:03 +00:00
Pierangelo Masarati
49d64acdf6
add test for idassert
2004-06-19 10:05:07 +00:00
Howard Chu
9d87b68ba6
Forgot to commit this before (ITS#3144, 3152, 3163)
2004-05-28 03:23:38 +00:00
Pierangelo Masarati
d5367227a0
test delete as well...
2004-05-08 22:06:31 +00:00
Pierangelo Masarati
7841e97539
more tests; test026 now works regardless of the backend; test027 is disabled for bdb/hdb because of a bug in handling empty DN...
2004-05-08 21:34:20 +00:00
Pierangelo Masarati
891fef5c5b
added DN parsing test
2004-05-07 22:13:39 +00:00
Pierangelo Masarati
63b1e663e2
cleanup; improvements to whoami test014
2004-04-25 23:58:22 +00:00
Kurt Zeilenga
53a45a04fe
Removing University of Michigan from installation test suite (ITS#3107)
...
from Paul Turgyan of University of Michigan.
2004-04-21 22:14:01 +00:00
Pierangelo Masarati
add96290d6
preliminary version of limits test
2004-04-17 18:15:08 +00:00
Howard Chu
f203ce2c54
Added referential integrity and attribute uniqueness overlays
2004-04-17 08:35:18 +00:00
Howard Chu
c564301d34
Added tests for password policy overlay
2004-03-16 10:16:21 +00:00
Howard Chu
7cbfe37bac
Update tool invocations
2004-02-26 19:13:23 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Howard Chu
1f5c0b41dc
Use proxy cache overlay
2003-12-06 11:46:26 +00:00
Kurt Zeilenga
6680465d02
notices
2003-11-28 20:00:23 +00:00
Kurt Zeilenga
11534f4cee
Add/update server startup scripts
2003-10-24 03:35:20 +00:00
Kurt Zeilenga
a8d7ae54b9
Fix 1 v 2 typo
2003-10-22 21:36:10 +00:00
Kurt Zeilenga
e0df7582b8
Rework test scripts to use single 'testrun' directory.
...
Split glue test in two.
Remove (slurpd) subtree replication test.
Reorder syncrepl/proxy tests
2003-10-22 05:14:08 +00:00
Kurt Zeilenga
b8ff29abfd
Rework test suite to use run script.
...
A little rough around the edges still.
2003-10-21 03:08:08 +00:00
Kurt Zeilenga
3fbe93c704
Rework support for certificate exact matching based, in part,
...
on patch submitted by Mark Ruijter <openldap@siennax.com>.
This addresses (hopefully) ITS 2702, 2703, 2719, 2771.
Additional work:
fix extraneous frees in libldap/getdn.c x509 rewrite routine
indexing
2003-10-18 02:39:08 +00:00
Kurt Zeilenga
6b046cedbd
Add initial certificate test
...
(userCertificate;binary=*) works
(userCertificate=*) doesn't but should
Needs to be expanded to include equality tests.
2003-10-17 02:15:50 +00:00
Jong Hyuk Choi
73f17befb7
Cascading replication test script
2003-06-26 06:12:55 +00:00
Jong Hyuk Choi
001cc11ef2
Proxy cache updates (with a test suite)
...
- IBM India Research (Apurva)
2003-06-21 00:21:57 +00:00
Jong Hyuk Choi
4f9f60d5d3
add the context prefix entry first in the test script 017/018
2003-05-30 21:43:03 +00:00
Jong Hyuk Choi
86b89752ba
test018-syncreplication-persist : added
...
test017-syncreplication : renamed to test017-syncreplication-refresh
2003-05-20 19:57:18 +00:00
Jong Hyuk Choi
986bcd52a9
-syncUUID search in syncrepl
...
-test017-syncreplication
2003-05-09 06:50:44 +00:00
Pierangelo Masarati
ca0ee4d91d
another try at fixing test011
2003-02-27 22:41:13 +00:00
Kurt Zeilenga
f3a727d7fb
Use ldapmodify -a instead of ldapadd.
2003-02-09 23:38:21 +00:00
Pierangelo Masarati
045fa7dc31
ignore blanks in subtree diff
2003-02-05 21:20:04 +00:00
Pierangelo Masarati
f051181042
this will likely fix the problem with partial replication
2003-02-05 14:42:37 +00:00
Kurt Zeilenga
2e8be24614
Add stats to master.log
2002-11-11 19:39:10 +00:00
Kurt Zeilenga
d69c41fc0f
Add a referrals/manageDsaIT test (depends on order of reference return)
2002-10-21 19:11:27 +00:00
Kurt Zeilenga
77911fc829
Alter a few DNs to ensure normalization works in groups
2002-09-30 18:43:18 +00:00
Kurt Zeilenga
d912c2c711
Rework client control parsing... need to implement
...
common controls across all tools.
2002-08-29 21:36:36 +00:00
Kurt Zeilenga
c488c6cdfa
Add whoami test
2002-03-11 00:23:18 +00:00
Kurt Zeilenga
e92b77327a
no 'diff -o' on this system
2002-01-30 21:35:52 +00:00
Kurt Zeilenga
8057b1a0a8
Language Tag and Range Support <draft-zeilenga-ldap-rfc2596-xx.txt>
...
Based upon code submitted by Steve Omrani <somrani@us.ibm.com> (ITS#1525)
2002-01-26 23:14:51 +00:00
Kurt Zeilenga
3770a99178
set hostname via a variable, may need tweaking in some environments
2002-01-21 06:35:04 +00:00
Kurt Zeilenga
94193358b4
Switch the default backend to BDB.
2002-01-15 17:26:44 +00:00
Howard Chu
52249ffc34
Added test for backend glue. Tests using slapadd/ldapsearch then starts
...
over using ldapadd/ldapsearch. Order of results is significant, and
differs from order in data/test-ordered.ldif (thus data/test-glued.ldif
is needed.)
2002-01-11 09:26:01 +00:00
Howard Chu
95b173fbb0
Turn off syslog on slapd
2001-12-06 06:42:56 +00:00
Pierangelo Masarati
b3b4baeb3f
illegal extra space in DN ... (right?)
2001-12-04 20:12:49 +00:00
Pierangelo Masarati
7c846b4cc9
more meaningful subtree replication test
2001-11-03 16:59:06 +00:00
Pierangelo Masarati
f65d9b3085
Subtree replication test
2001-11-02 15:39:43 +00:00
Kurt Zeilenga
f417a66feb
Add extra spaces to babs' DN.
2000-10-21 03:26:49 +00:00
Kurt Zeilenga
b8091cee87
Hack test environment to support multiple backends using
...
one set of slapd.conf files.
2000-10-01 22:46:52 +00:00
Kurt Zeilenga
08d397f65d
Use root-dse to verify schema files
2000-09-13 14:31:22 +00:00
Kurt Zeilenga
c49960df72
Add infrastructure for reindex testing
2000-07-26 18:24:44 +00:00
Kurt Zeilenga
a73b210d5f
Rename LDIF2LDBM to SLAPADD
2000-07-26 18:13:38 +00:00
Kurt Zeilenga
d76bbdab91
Replace diff -q with diff >/dev/null for portability reasons
2000-07-20 02:23:00 +00:00
Kurt Zeilenga
1e562b0d1f
Make it all work.
2000-07-16 00:14:08 +00:00
Kurt Zeilenga
df5bbc2d1d
Use "diff -i -q" instead of "cmp"
2000-05-27 17:17:47 +00:00
Kurt Zeilenga
570204c9e2
s/cmp/$CMP/ define CMP to cmp (to allow cmp replacements)
...
Add -n option to slapd
2000-05-27 17:16:10 +00:00
Kurt Zeilenga
b5fab0c88e
Use -b "" instead of -b "cn=monitor" as monitor is not yet
...
implemented in SLAPD_SCHEMA_NOT_COMPAT
2000-05-26 02:48:24 +00:00
Kurt Zeilenga
971f968d09
ITS#437: use portable syntax to export environment variable
2000-02-03 22:26:00 +00:00
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
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
1c52d43149
Fix shbang magic "#! /bin/sh" (correct) vs "#!/bin/sh" (incorrect)
1999-09-10 02:15:03 +00:00
Kurt Zeilenga
41e57c041f
Add OpenLDAP RCS id
1999-09-02 00:52:43 +00:00
Kurt Zeilenga
68744ced8d
fix dn2id delete bug... breaks modrdn.
1999-08-26 00:51:27 +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
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
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
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
Juan Gomez
ae2fa90929
Add new output file name.
1999-05-27 00:31:30 +00:00
Kurt Zeilenga
b1d315c51f
Add CLIENTDIR to alllow easy selection of alternative clients directory.
1999-05-21 00:14:38 +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
80b8691eac
Fix VPATH support.
1999-04-08 02:18:54 +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 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
63f5f5b4a3
Defined LDAPMODRDN in preparation to add tests for LDAP v2 modrdn.
1999-03-10 21:08:21 +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
d66726da21
slapd-tester should be ./slapd-tester
1999-02-20 07:49:12 +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 Zeilenga
19a17982c6
suffixes need to be stored in normalized uppercase format
1999-01-20 05:43:33 +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
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