Commit Graph

425 Commits

Author SHA1 Message Date
Sang Seok Lim
d997105915 .conf and .schema files for test31-component-filter 2004-08-28 03:53:41 +00:00
Ralf Haferkamp
0185c75c2f added new test slapd-modify (based on slapd-modrdn). Adds a single attribute to an entry and removes it again. 2004-08-27 17:07:18 +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
da6bd4b8b0 cleanup 2004-08-25 14:37:28 +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
53483e012d more definitive improvements; now write operations are consistent; plugged some more leaks/invalid frees; tests are more complete. IBM db2 doesn't pass write test because the entries are written in a different order; need to write a script that sorts the results... 2004-08-25 10:41:13 +00:00
Pierangelo Masarati
d25ade71e9 need to perform a select after adds... 2004-08-24 15:37:10 +00:00
Pierangelo Masarati
b68129fc39 rework SQL tests invocation; improve all tests 2004-08-24 09:26:39 +00:00
Pierangelo Masarati
efaad6c616 add passwd change test 2004-08-21 09:55:16 +00:00
Pierangelo Masarati
b7c0b9ed7f further improve tests; line-up with code 2004-08-21 09:45:14 +00:00
Pierangelo Masarati
0ed0cd66bf more on back-sql test 2004-08-20 16:12:49 +00:00
Pierangelo Masarati
f59089b5b0 now PostgreSQL seems to work... 2004-08-20 15:24:39 +00:00
Pierangelo Masarati
fe6ac06ef3 test for back-sql; disbled by default, requires some preparation (essentially the RDBMS and the ODBC) before being run 2004-08-20 14:26:18 +00:00
Pierangelo Masarati
3052ce6ffd added back-sql test under conditions; needs a README... 2004-08-20 12:44:32 +00:00
Pierangelo Masarati
f1b5d4b299 cleanup 2004-08-06 16:51:35 +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
a7b55f4f44 assert administrative identity instead of the required one if doing auth check in non-caching mode 2004-07-23 00:11:05 +00:00
Pierangelo Masarati
0858d540d2 improve relay backend/rwm overlay test 2004-07-20 00:28:15 +00:00
Pierangelo Masarati
855b1e3a62 add test for back-relay/rwm 2004-07-12 19:26:07 +00:00
Pierangelo Masarati
3c50386b88 ad test for back-relay and rwm overlay 2004-07-12 00:19:15 +00:00
Pierangelo Masarati
3926e05aaa search for DN-related atributes... 2004-07-06 02:01:45 +00:00
Pierangelo Masarati
70cfbf587a updates (according to ITS#3209) 2004-07-03 11:18:00 +00:00
Pierangelo Masarati
56bbb56b92 small improvement to acl test 2004-06-29 17:25:45 +00:00
Pierangelo Masarati
d8eff4d1b5 use hard limit instead of returning adminLimitExceeded when requested limit exceeds hard; improve (and document) syntax; modify test025 accordingly 2004-06-22 09:43:41 +00:00
Pierangelo Masarati
ff35e820dd more improvements 2004-06-21 18:43:29 +00:00
Pierangelo Masarati
40a632cdde add test for rootdn; better check search results (not over yet)... 2004-06-21 10:06:23 +00:00
Pierangelo Masarati
b24e540790 improve readability 2004-06-21 01:01:09 +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
92cdecc686 improve message 2004-06-19 18:23:11 +00:00
Pierangelo Masarati
b2226f75c4 cleanup 2004-06-19 16:29:30 +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
Pierangelo Masarati
45523220c9 add test for max size limit 2004-06-19 10:04:49 +00:00
Pierangelo Masarati
48f4d0c773 cleanup test for empty DN 2004-06-19 10:04:20 +00:00
Pierangelo Masarati
72c558f202 use '/noprompt' parameter when requesting paged results 2004-06-12 11:39:23 +00:00
Howard Chu
ada1ee11fe Fix prev commit 2004-06-12 08:01:35 +00:00
Howard Chu
78d49d696c Old slapd needs time to exit before new one starts 2004-06-12 07:44:26 +00:00
Howard Chu
24e451e042 ITS#3063, test now works on bdb/hdb 2004-06-12 07:40:15 +00:00
Howard Chu
9d87b68ba6 Forgot to commit this before (ITS#3144, 3152, 3163) 2004-05-28 03:23:38 +00:00
Howard Chu
8d46e3c80e More cleanup 2004-05-20 00:51:20 +00:00
Howard Chu
e915caf409 Cleanup prev commit 2004-05-20 00:49:11 +00:00
Howard Chu
c76e9b4c34 ITS#3144, ITS#3152 verify cache results 2004-05-20 00:41:16 +00:00
Pierangelo Masarati
75e415472d fix test000 for back-monitor built as module 2004-05-15 14:35:05 +00:00
Pierangelo Masarati
4bd0b59fb6 check for empty DN in proxyAuthz control 2004-05-14 15:11:58 +00:00
Howard Chu
5f245561a7 ITS#3125 load back-monitor if it's a module 2004-05-13 00:26:10 +00:00
Pierangelo Masarati
2e03241c32 more fixes to test006; added sets test 2004-05-13 00:18:21 +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
Kurt Zeilenga
05463503e8 ITS#3118: fix objectIdentifierFirstComponentMatch for schema elements 2004-04-28 20:10:21 +00:00
Kurt Zeilenga
81d31dc721 ITS#3118: initial fix: (objectClasses=2.5.6.0) works
need to add special handler to allow (objectClasses=top) to work
2004-04-28 05:12:53 +00:00
Pierangelo Masarati
35643b0425 more whoami tests 2004-04-27 22:47:41 +00:00
Pierangelo Masarati
aafe680091 fix test 2004-04-26 22:59:48 +00:00
Pierangelo Masarati
63b1e663e2 cleanup; improvements to whoami test014 2004-04-25 23:58:22 +00:00
Howard Chu
8922b4d88e ITS#3108 disable test on ldbm 2004-04-22 20:47:14 +00:00
Pierangelo Masarati
13308a70aa cleanup 2004-04-21 23:25:30 +00:00
Pierangelo Masarati
343264f9f6 allow refint/unique to run even if overlays are dynamic and backends no 2004-04-21 23:11:27 +00:00
Pierangelo Masarati
339b34ac1f smoothen ppolicy test 2004-04-21 23:02:58 +00:00
Pierangelo Masarati
daf4186849 improve ITS#3107 2004-04-21 22:49:04 +00:00
Pierangelo Masarati
ab61b02604 cleanup 2004-04-21 22:35:20 +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
41d3389c5b minimize piping... 2004-04-20 23:08:05 +00:00
Pierangelo Masarati
29f0cd1c18 use awk instead of sed 2004-04-20 22:43:18 +00:00
Pierangelo Masarati
5e0ab81033 improve portability... 2004-04-20 21:28:29 +00:00
Kurt Zeilenga
a23f94bc86 Improve portability 2004-04-20 00:07:20 +00:00
Pierangelo Masarati
f7aa0221db more pagedResults tests 2004-04-18 21:04:45 +00:00
Pierangelo Masarati
a7d591b0b6 first round of pagedResults limits test; fix bug in sed regex 2004-04-17 18:38:41 +00:00
Pierangelo Masarati
5b56d48e45 unambiguate last set of tests 2004-04-17 18:21:26 +00:00
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
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
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
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
37964b63e3 ITS#2740, #2859 fixes for dynamic backends 2003-12-04 11:15: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
6680465d02 notices 2003-11-28 20:00:23 +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
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
Kurt Zeilenga
11534f4cee Add/update server startup scripts 2003-10-24 03:35:20 +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
Howard Chu
879e1d6133 Fix CONF/CONF1 usage 2003-10-22 10:46:41 +00:00
Howard Chu
c9da565fab Fix typo in killpid 2003-10-22 10:15:07 +00:00
Kurt Zeilenga
579d787854 Forgot to add renamed tests 2003-10-22 07:39:18 +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
b8ff29abfd Rework test suite to use run script.
A little rough around the edges still.
2003-10-21 03:08:08 +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
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
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
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
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
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
001cc11ef2 Proxy cache updates (with a test suite)
- IBM India Research (Apurva)
2003-06-21 00:21:57 +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
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
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
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