Commit Graph

567 Commits

Author SHA1 Message Date
Pierangelo Masarati
add96290d6 preliminary version of limits test 2004-04-17 18:15:08 +00:00
Howard Chu
047ad1298b Cleanup 2004-04-17 15:46:18 +00:00
Howard Chu
f203ce2c54 Added referential integrity and attribute uniqueness overlays 2004-04-17 08:35:18 +00:00
Kurt Zeilenga
338e2030f4 sync with test003 2004-04-09 21:37:48 +00:00
Kurt Zeilenga
071b9466c4 Fix approx matching when there is an equality index but no approx index.
Add better approx test
2004-04-09 21:30:55 +00:00
Kurt Zeilenga
cb19555319 Add an approx test to the mix 2004-04-07 22:30:52 +00:00
Howard Chu
18a062dad6 Make sure lockout flag is printed 2004-03-20 09:26:15 +00:00
Howard Chu
911a7cc1b9 back-ldbm is supported now 2004-03-20 09:25:42 +00:00
Howard Chu
1d9fa315ac Skip test on ldbm, ldbm deadlocks on Bind 2004-03-17 09:02:44 +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
da6fb2f440 Echo --CERTIFICATE-- instead of actual certificate into comment 2004-01-23 18:45:28 +00:00
Howard Chu
820b5b6487 Add sizelimit checks (ITS#2888) 2004-01-21 10:26:58 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Howard Chu
e8450ad588 ITS#2895 sleep(1) here masks race conditions, don't do it. 2003-12-24 14:03:43 +00:00
Kurt Zeilenga
fc38e26d74 Fix tests 2003-12-18 01:07:09 +00:00
Kurt Zeilenga
5e77767be5 Requires --with-tls 2003-12-16 03:25:32 +00:00
Kurt Zeilenga
4d29df5bd1 Add LDAP_DEPRECATED macro
Need to remove use of deprecated functions.
2003-12-14 02:47:42 +00:00
Howard Chu
8a9d026097 Fix URI to work with either back-ldap or back-meta 2003-12-13 02:35:27 +00:00
Howard Chu
7fedf13e02 ITS#2494 sort entries ahead of everything else 2003-12-07 11:15:22 +00:00
Howard Chu
10bd2f8629 Use AC_pcache instead of AC_meta 2003-12-07 03:22:31 +00:00
Howard Chu
da602ddbe4 Fix extra test option 2003-12-06 13:04:35 +00:00
Howard Chu
1f5c0b41dc Use proxy cache overlay 2003-12-06 11:46:26 +00:00
Howard Chu
5d28da417e Use proxycache overlay 2003-12-06 11:37:45 +00:00
Howard Chu
37964b63e3 ITS#2740, #2859 fixes for dynamic backends 2003-12-04 11:15:07 +00:00
Howard Chu
ff2c3ddce5 ITS#2859 fix up backend selection 2003-12-03 21:52:07 +00:00
Kurt Zeilenga
71a80f4227 fix last commit 2003-12-01 03:04:26 +00:00
Kurt Zeilenga
cf2a8a2cd1 Disable tests on LDBM. 2003-12-01 02:59:58 +00:00
Kurt Zeilenga
971cb362cd Add rcsid 2003-12-01 00:19:13 +00:00
Kurt Zeilenga
6680465d02 notices 2003-11-28 20:00:23 +00:00
Jong Hyuk Choi
7b587da5c1 syncrepl : id -> rid 2003-11-26 22:45:21 +00:00
Kurt Zeilenga
f14b84c312 Notices and Acknowledgements 2003-11-26 15:24:38 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
Jong Hyuk Choi
64dd6a0760 fix for the cascading replication (reenabling test019) 2003-11-13 00:11:44 +00:00
Jong Hyuk Choi
f3586499d0 update ldapsync/syncrepl code according to the new version of
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
279760a467 1. Session history support
- memory based session history to minimize sync traffic
	- when client is covered by a session history, then
      [add+delete] mode is used
	- when client cookie is not covered by the history because
      the cookie is too outdated and/or the history is truncated,
	  [add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
	- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Kurt Zeilenga
9492ed16e2 ITS#2815: load modules 2003-11-08 20:43:55 +00:00
Jong Hyuk Choi
cc5e417234 second level interval support, interval=dd:hh:mm:ss
changed the test scripts and test conf files accordingly
2003-11-05 16:10:43 +00:00
Hallvard Furuseth
f8fe312a16 test -e' is broken on SunOS 5.8. Replace with test -r'. 2003-11-05 14:53:48 +00:00
Kurt Zeilenga
f5a79a34cc Fix ucdata to link within objdir 2003-10-31 18:41:51 +00:00
Hallvard Furuseth
13ef3206ef Fix ucdata symlink 2003-10-31 17:17:17 +00:00
Kurt Zeilenga
d0c05e814d Add a basic DIT content rule test.
Fix DIT rules to allow extensibleObject in AUX
unifdef -DSLAP_EXTENDED_SCHEMA
2003-10-24 04:40:32 +00:00
Kurt Zeilenga
11534f4cee Add/update server startup scripts 2003-10-24 03:35:20 +00:00
Jong Hyuk Choi
70fef3aab6 removing trailing spaces 2003-10-22 21:58:21 +00:00
Jong Hyuk Choi
76a4567520 checking ldapmodify return code & replace member with uniquemember. 2003-10-22 21:48:56 +00:00
Kurt Zeilenga
a8d7ae54b9 Fix 1 v 2 typo 2003-10-22 21:36:10 +00:00
Kurt Zeilenga
6d62bcccba s/member/uniqueMember/ 2003-10-22 21:33:55 +00:00
Kurt Zeilenga
a790905624 Fix last commit 2003-10-22 21:30:31 +00:00
Kurt Zeilenga
74051d0dfc Check ldapmodify for success. 2003-10-22 21:20:58 +00:00
Kurt Zeilenga
b7f3743443 Reverse last commit 2003-10-22 21:14:42 +00:00
Jong Hyuk Choi
4f4992fddf fix broken test ldif files 2003-10-22 20:43:08 +00:00
Kurt Zeilenga
6a4570999a Revent last change. Must use TOPSRCDIR for VPATH support. 2003-10-22 17:15:16 +00:00
Jong Hyuk Choi
049a28d74a fix ucdata path 2003-10-22 17:04:12 +00:00
Howard Chu
879e1d6133 Fix CONF/CONF1 usage 2003-10-22 10:46:41 +00:00
Howard Chu
5d7db2665f Undo test020 overwrite 2003-10-22 10:45:56 +00:00
Howard Chu
c9da565fab Fix typo in killpid 2003-10-22 10:15:07 +00:00
Howard Chu
ce7ce9313e Fix for selectable backend 2003-10-22 09:39:50 +00:00
Kurt Zeilenga
579d787854 Forgot to add renamed tests 2003-10-22 07:39:18 +00:00
Kurt Zeilenga
6308a45de6 Find scripts by short names (test000, rootdse) 2003-10-22 07:06:28 +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
Jong Hyuk Choi
eadcbd8fba remove ldbm related lines 2003-10-21 21:14:56 +00:00
Kurt Zeilenga
4439c88fbe Fix -w option 2003-10-21 03:18:15 +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
f89a4cc459 With export of variables 2003-10-20 05:19:51 +00:00
Kurt Zeilenga
23eb6c76ac Initial run script (for further devel discussions) 2003-10-20 05:17:24 +00:00
Howard Chu
127c7a1381 Fix error messages 2003-10-19 11:23:07 +00:00
Howard Chu
d33e095799 Tweak startup, exiting 2003-10-19 05:46:56 +00:00
Kurt Zeilenga
c57db6c33e Add basic support for certificateMatch (as an extensible matching rule) 2003-10-18 04:20:19 +00:00
Kurt Zeilenga
2cd974b435 Include a (userCertificate:certificateExactMatch:=SN$DN) assertion. 2003-10-18 03:47:33 +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
Howard Chu
2ef88ce501 ITS#2747 fix exit conditions 2003-10-13 10:14:05 +00:00
Howard Chu
a03d70e817 Fix test sequencing 2003-10-13 09:56:25 +00:00
Kurt Zeilenga
c53a164310 Add second UTF-8 normalization case 2003-10-12 20:14:03 +00:00
Kurt Zeilenga
0946c267eb Add basic UTF-8 normalization test (see ITS#2737) 2003-10-12 19:58:28 +00:00
Howard Chu
61452ee9c7 Push invariant args into environment, they were making the "WAIT"
parameter too difficult to use.
2003-10-10 12:11:22 +00:00
Howard Chu
feb03bfde5 Change slapd-tester to read search base from file instead of using
the commandline
2003-09-23 11:55:59 +00:00
Jong Hyuk Choi
e6006f9057 fix ITS#2733
- if test back-ldbm then
-    run the provider with back-bdb when back-bdb is configured
-    run the provider with back-hdb when back-hdb is configured
-    exit when neither is configured
2003-09-23 00:11:46 +00:00
Kurt Zeilenga
f582fd1ba8 Add dn.subtree="" clause 2003-09-15 21:50:13 +00:00
Jong Hyuk Choi
b3eff8fceb It's verified that back-hdb performs as a sync provider as well as a sync consumer. 2003-09-05 18:11:39 +00:00
Jong Hyuk Choi
7f882daf15 Schema checking option for LDAP Sync replication 2003-09-03 21:42:52 +00:00
Jong Hyuk Choi
5548a2dd0c Sync replication config option format change (interval) 2003-08-28 22:29:12 +00:00
Jong Hyuk Choi
79b04b12a2 Context CSN Patch (5)
- persistent search patch
- cascading search patch
2003-08-26 00:35:27 +00:00
Jong Hyuk Choi
660617ae66 Context CSN patch (1)
- currenty works for refreshOnly mode of LDAP Sync
- Context CSN for add / modify is implemented
- code for delete / modrdn / refreshAndPersist will be soon committed
2003-08-23 02:51:33 +00:00
Kurt Zeilenga
2583276ab2 more uniquemember cleanup 2003-08-22 21:42:02 +00:00
Kurt Zeilenga
88531a08f9 More uniquemember fixes
(we really should be using the same filters as test003 here)
2003-08-22 21:29:44 +00:00
Kurt Zeilenga
ea6b1b84a1 More uniqueMember cleanup 2003-08-22 21:19:29 +00:00
Kurt Zeilenga
be22981d78 Add nameAndOptionalUID pretty routine... improves uniqueMember handling
Should resolve ITS#2664.
2003-08-22 21:03:03 +00:00
Jong Hyuk Choi
6659cf3ea1 LDAP Sync protocol change : state mode (add+present) and log mode (add+delete) 2003-08-14 16:27:36 +00:00
Jong Hyuk Choi
d113166475 Proxy cache patch (by Jong, Apurva, & Kurt)
1. Glueing patch for proxy cache
2. test script update to avoid schema checking voilations (attributes set)
3. configuration patch for proxy cache
2003-08-13 23:44:56 +00:00
Kurt Zeilenga
b54780f940 Add initial support for modify/increment. No over/under flow detection.
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Jong Hyuk Choi
c996265bc0 allow more time to replicate 2003-07-15 07:54:19 +00:00
Jong Hyuk Choi
9b5e2b0087 SyncRepl is working with both back-bdb and back-ldbm 2003-07-15 00:27:59 +00:00
Jong Hyuk Choi
e8b6a7d622 previous change was too early. revert to orig for a while. 2003-07-15 00:25:36 +00:00
Jong Hyuk Choi
fdf0a57dfa SyncRepl works both with back-bdb and back-ldbm 2003-07-15 00:22:55 +00:00
Jong Hyuk Choi
26064429ba making proxy cache backend agnostic 2003-07-11 23:03:11 +00:00
Jong Hyuk Choi
132f738059 fix typo 2003-07-11 00:54:05 +00:00
Jong Hyuk Choi
1ff440cfb2 debugging cleanup 2003-06-28 00:35:15 +00:00
Jong Hyuk Choi
b9409253c1 for now, it runs with ldbm only 2003-06-26 23:52:52 +00:00
Jong Hyuk Choi
420b15f713 Cascading replication misc cleanup 2003-06-26 07:18:50 +00:00
Jong Hyuk Choi
73f17befb7 Cascading replication test script 2003-06-26 06:12:55 +00:00
Jong Hyuk Choi
fb6f19d494 make "make tests" run serialized with "make -j num" 2003-06-23 14:11:29 +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
Kurt Zeilenga
c0089a171d s/master/provider/ 2003-06-10 18:32:20 +00:00
Howard Chu
86a90cd8d1 Add args to accomodate OS/390 shell bug 2003-06-04 12:06:46 +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
Kurt Zeilenga
0954351565 Change ACL default style to exact (from regex) 2003-05-30 05:24:39 +00:00
Howard Chu
d8476d75c9 There is no SLURPPID to kill
Test is also valid for back-hdb
2003-05-24 04:30:53 +00:00
Howard Chu
6165d8ed9c Add wait clause for slurpd 2003-05-24 01:57:29 +00:00
Jong Hyuk Choi
f72566e9f0 cleanup ($PORT -> $SLAVEPORT) 2003-05-23 18:02:34 +00:00
Jong Hyuk Choi
88ae22b854 cleanup (one search to master, another to slave) 2003-05-23 17:45:44 +00:00
Kurt Zeilenga
3961effec9 option ordering now works 2003-05-22 20:10:21 +00:00
Jong Hyuk Choi
89270499f8 slapd-syncrepl-slave-persist.conf : added
slapd-sycnrepl-slave-refresh.conf : renamed from slapd-syncrepl-slave.conf
2003-05-20 19:58:11 +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
4f58efc4d1 - change in message to modlist conversion 2003-05-20 01:45:12 +00:00
Kurt Zeilenga
7193d3dd21 rm cruft 2003-05-09 22:12:07 +00:00
Jong Hyuk Choi
5c927a2fcf -Test only valid for bdb 2003-05-09 20:08:08 +00:00
Jong Hyuk Choi
986bcd52a9 -syncUUID search in syncrepl
-test017-syncreplication
2003-05-09 06:50:44 +00:00
Howard Chu
2ce5398ec4 ITS#2401 support tests for dynamically loaded backends 2003-04-30 03:04:18 +00:00
Howard Chu
fded00210e Fix prev commit 2003-04-24 05:20:53 +00:00
Kurt Zeilenga
d6f82a74c1 Rebuild configure scripts with --enable-hdb support
Add HDB to test suite
2003-04-23 16:50:56 +00:00
Howard Chu
a69d32153f ITS#2428 braindead compiler... 2003-04-08 02:54:37 +00:00
Pierangelo Masarati
5d7b0a1681 fix ldif? 2003-04-03 21:15:37 +00:00
Howard Chu
c532587f51 ITS#2363 - slurpd should now exit cleanly without -KILL 2003-03-24 15:00:04 +00:00
Kurt Zeilenga
67a0e98097 Minor tweak to search filter 2003-03-22 22:27:56 +00:00
Kurt Zeilenga
0aef00c16f Fix initializer 2003-03-04 21:52:23 +00:00
Kurt Zeilenga
4f35d76253 screw with the case 2003-03-02 04:32:39 +00:00
Pierangelo Masarati
ca0ee4d91d another try at fixing test011 2003-02-27 22:41:13 +00:00
Kurt Zeilenga
315f7bcef9 Don't include kerberos schema in tests... its broken. 2003-02-26 22:40:24 +00:00
Kurt Zeilenga
c98ef452aa Add test for " jensen " indexing bug 2003-02-25 19:02:21 +00:00
Kurt Zeilenga
3b147e9219 Misc tweaks 2003-02-24 17:15:31 +00:00
Kurt Zeilenga
532981c19d Another odd modify test 2003-02-22 15:55:08 +00:00
Kurt Zeilenga
c91c08d9f3 A tests for a few allowed oddities 2003-02-22 15:42:42 +00:00
Howard Chu
880ab099e9 Uncomment sleep(1), unintended from previous commit. 2003-02-22 12:55:05 +00:00
Howard Chu
fed4c24bea Added data for modrdn concurrency test 2003-02-22 12:14:03 +00:00
Howard Chu
858917d2ef Added new test slapd-modrdn - string-reverses the RDN of the given DNs,
then undoes the change.
2003-02-22 12:01:59 +00:00
Kurt Zeilenga
05619c6ec7 ITS#2236. Add missing connections_shutdown() call. 2003-02-19 20:39:04 +00:00
Kurt Zeilenga
1a8a5dc544 Fix schema errors in tests 2003-02-17 21:36:17 +00:00
Howard Chu
04c2de7cdc Added support for "-H" arg with LDAP uri / ldap_initialize 2003-02-13 08:02:40 +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
e258f53be2 quick hack to check for awk 2003-02-05 14:50:15 +00:00
Pierangelo Masarati
f051181042 this will likely fix the problem with partial replication 2003-02-05 14:42:37 +00:00
Pierangelo Masarati
8547e09c6e added attr strip test 2003-02-05 12:40:08 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Kurt Zeilenga
db98e44d6a Finish proxy authzid control 2002-12-05 18:14:02 +00:00
Kurt Zeilenga
da76c1951e First-cut proxy authorization support. 2002-12-03 06:11:32 +00:00
Kurt Zeilenga
2e8be24614 Add stats to master.log 2002-11-11 19:39:10 +00:00
Kurt Zeilenga
079463ed1f Use vendorName instead of description 2002-11-11 01:08:11 +00:00
Kurt Zeilenga
6a44b81093 Root DSE test 2002-11-11 00:34:38 +00:00