Commit Graph

526 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
a4bc4af418 close 'for' appropriately; clean also 'replica' subdir 2002-11-10 22:53:37 +00:00
Kurt Zeilenga
a77c0ce55c Test anonymous whoami 2002-10-30 00:17:36 +00:00
Kurt Zeilenga
8edcc58b56 Rename 2002-10-22 04:11:28 +00:00
Kurt Zeilenga
d1e1bad8f6 Add implicit DN check 2002-10-21 21:24:21 +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
5684ee0df7 s/umich.edu/example.com/ 2002-10-04 20:58:20 +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
b3906fc99d Add portability note and reference to the platform hints FAQ answer 2002-09-26 21:37:05 +00:00
Kurt Zeilenga
5aa29206cd Change one search to use oneLevel scope 2002-09-23 22:27:19 +00:00
Kurt Zeilenga
d9d58ae02f Save "-" for no subtypes 2002-09-20 19:58:25 +00:00
Kurt Zeilenga
cc7d1433bb For object classes in attribute lists, use '+' (or '-') to indicate
name is an objectClass.
2002-09-16 20:48:08 +00:00
Howard Chu
615af63d04 Added group ACL tests 2002-09-13 15:04:04 +00:00
Howard Chu
f22855e6be Fix slapd startup ldapsearch loop 2002-09-01 11:39:08 +00:00
Kurt Zeilenga
4d2b4e47ca Add in extra white space 2002-08-31 22:24:05 +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
Pierangelo Masarati
0549f16e6c test extended filter and values return filter 2002-08-29 19:31:02 +00:00
Kurt Zeilenga
02ec62a9ed add userid case 2002-08-29 03:03:51 +00:00
Kurt Zeilenga
68d59abe9a Add case to 009 2002-08-29 02:55:39 +00:00
Kurt Zeilenga
eb18152969 search on 'userid' not 'uid' 2002-08-29 02:48:12 +00:00
Kurt Zeilenga
b63ca6bc51 back out last commit 2002-08-29 02:32:58 +00:00
Kurt Zeilenga
923d033c99 Finish adding subclassing indexing support 2002-08-29 02:27:15 +00:00
Kurt Zeilenga
4fa2b12342 Trim subordinate classes from input (and expected output). 2002-08-27 21:41:37 +00:00
Kurt Zeilenga
1c0c6cee80 backout last change... too tired to make this work right now. 2002-08-12 22:33:43 +00:00
Kurt Zeilenga
233b0fd1dc This *should* work 2002-08-12 22:27:24 +00:00
Kurt Zeilenga
ea4996046c cleanup 2002-08-12 22:15:25 +00:00
Kurt Zeilenga
11838eb57b Partially back out last commit 2002-08-12 22:14:10 +00:00
Kurt Zeilenga
c9565e7530 Rewrite master/slave ports 2002-08-12 21:49:27 +00:00
Kurt Zeilenga
7bc35541e4 Add simple CN v cn test case for ITS#1997 2002-08-07 19:12:59 +00:00
Kurt Zeilenga
478a7103c0 Add member filter components to groupOfName assertions 2002-07-30 04:14:58 +00:00
Howard Chu
b934eeb948 test progs need -llutil 2002-07-27 03:34:23 +00:00
Howard Chu
91836e4eba Fix argvec for OS/390 2002-07-26 13:29:37 +00:00
Kurt Zeilenga
f5e209138b snprintf cleanup 2002-07-23 18:31:42 +00:00
Kurt Zeilenga
ef3d895cb8 More ACL to dn="" bug fixing... and add test006-acl check 2002-07-11 01:45:22 +00:00
Kurt Zeilenga
1990cad7c3 Add monitor test.
Need to hide cn=Monitor from namingContext
2002-06-19 06:00:48 +00:00
Kurt Zeilenga
42ea8ef9cd Cannot set rootpw when rootdn is not under suffix 2002-06-08 18:49:14 +00:00
Howard Chu
a00cb8f614 Fix return code tests. 2002-05-17 09:11:30 +00:00
Howard Chu
671e92098a Fix success test on last comparison 2002-05-17 08:24:53 +00:00
Howard Chu
99ddb3a1fd Revert unnecessary change in previous commit 2002-05-17 01:44:02 +00:00
Howard Chu
f5ef28a055 Fixes for MingW: (test008 now succeeds)
need liblutil for lutil_getopt
	must quote args with embedded whitespace
	must track child processes in order to wait()
2002-05-17 01:36:35 +00:00
Kurt Zeilenga
07465f3e5a Some cleanup 2002-03-24 01:55:11 +00:00
Kurt Zeilenga
a5b0759733 Basic extensible matching test 2002-03-11 01:48:17 +00:00