Commit Graph

498 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
67a0e98097 Minor tweak to search filter 2003-03-22 22:27:56 +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
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
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
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
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
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
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
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
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
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
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
478a7103c0 Add member filter components to groupOfName assertions 2002-07-30 04:14:58 +00:00
Kurt Zeilenga
1990cad7c3 Add monitor test.
Need to hide cn=Monitor from namingContext
2002-06-19 06:00:48 +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
Kurt Zeilenga
a5b0759733 Basic extensible matching test 2002-03-11 01:48:17 +00:00
Kurt Zeilenga
c488c6cdfa Add whoami test 2002-03-11 00:23:18 +00:00
Howard Chu
6d7556180d Quote sed arguments, Solaris seems to need this. 2002-03-08 23:32:28 +00:00
Kurt Zeilenga
1880c23029 Replace get_filter generation of fstr with filter2bv(). 2002-03-07 03:13:11 +00:00
Kurt Zeilenga
8575e0a050 Add some undefined assertion tests 2002-03-01 18:58:11 +00:00
Kurt Zeilenga
7aaeff9649 Use scope base searches 2002-02-11 21:25:12 +00:00
Kurt Zeilenga
9147b20e9f Add a little boldness 2002-02-10 23:49:57 +00:00
Kurt Zeilenga
e661f2f289 s/person/pilotPerson 2002-02-09 23:12:30 +00:00
Kurt Zeilenga
d3809580c7 Search for pilotPerson instead of person to test objectClass handling 2002-02-09 23:04:18 +00:00
Kurt Zeilenga
59af7e5be9 Fix failure message 2002-02-01 22:43:46 +00:00
Kurt Zeilenga
20f4d3099a Disable broken test011
Add sleep to test012
2002-01-31 22:54:13 +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
e43fe62485 Renamed subdirectories to hide rm warnings 2002-01-13 23:52:17 +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
Kurt Zeilenga
f555d36eb2 Minor cleanup 2001-12-25 20:02:13 +00:00
Kurt Zeilenga
39bc94082a Fix minor error in error text handling
Fix invalid structural object class chains in test schema
2001-12-19 23:41:31 +00:00
Howard Chu
db1dce650b One more seeAlso DN to squash. 2001-12-06 13:21:36 +00:00
Howard Chu
32a5c16f75 Strip whitespace from DN-valued attributes. 2001-12-06 07:18:18 +00:00
Howard Chu
95b173fbb0 Turn off syslog on slapd 2001-12-06 06:42:56 +00:00
Howard Chu
f0b56c3444 Stripped whitespace between entry DN components. 2001-12-06 06:40:09 +00:00
Kurt Zeilenga
3787c4c7d7 Allow an object class to be provided in an attribute description list,
treated as a request for all required and allowed attributes of the class.
This allows:
	ldapsearch (objectClass=*) inetOrgPerson
	(requests return of all attributes of inetOrgPerson)
and
	ldapsearch (objectClass=*) extensibleObject
	(requests return of all attributes, e.g., "+" "*")
2001-12-06 01:02:11 +00:00
Pierangelo Masarati
754258af38 better strip of diff marks 2001-12-05 09:35:31 +00:00
Pierangelo Masarati
b3b4baeb3f illegal extra space in DN ... (right?) 2001-12-04 20:12:49 +00:00
Kurt Zeilenga
99a6d0a552 Use -h URL, not -p port 2001-11-28 02:20:36 +00:00
Pierangelo Masarati
b6ff5c4d50 cleanup 2001-11-05 08:52:01 +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
Pierangelo Masarati
7f79cd0047 there's a bug in the test, because the 'multilinedescription' attribute is not defined anywhere; I trimmed it and added modrdn tests as well 2001-10-09 18:11:05 +00:00
Kurt Zeilenga
2f80480ef0 Tru64 diff does support "diff foo /dev/null",
replace with "diff foo - < /dev/null"
2001-10-02 08:27:18 +00:00
Howard Chu
4eaad48247 Added optional 3rd parameter, to make the script display the slapd pid
and wait. User must hit <NewLine> to continue. This gives the opportunity
to attach a debugger to the slapd before proceeding with the test.
2001-09-22 05:34:22 +00:00
Kurt Zeilenga
733d6296a6 Fix undefined filter parsing 2001-06-16 02:20:48 +00:00
Kurt Zeilenga
4c3ab6bf69 Don't set directory in backend LDBM for now 2001-06-07 18:00:16 +00:00
Kurt Zeilenga
8dda2d0290 Disable #ldbm# options for now (as DBHOME stuff needs rethinking) 2001-06-07 17:57:13 +00:00
Kurt Zeilenga
85571183cc s/#LDBM#/#ldbm#/ and back out non-portable /i change to conf.sh 2001-06-06 21:55:22 +00:00
Kurt Zeilenga
6fb6088888 use case ignore matching for $BACKEND subs 2001-06-06 21:25:29 +00:00
Kurt Zeilenga
3a87993570 Append log 2001-05-07 19:30:22 +00:00
Kurt Zeilenga
2e4e524da2 Add scripts to start a master server 2001-05-06 20:33:13 +00:00
Kurt Zeilenga
777cf6e3a3 Use KILL to kill slurpd.
Not sure why its not shutting down with -INT under FreeBSD 4,
but I have no time to figure this out.
2001-05-04 22:03:45 +00:00
Kurt Zeilenga
0d41df6ff8 Use kill -INT to kill slurpd 2001-05-04 04:05:56 +00:00
Kurt Zeilenga
f417a66feb Add extra spaces to babs' DN. 2000-10-21 03:26:49 +00:00
Kurt Zeilenga
659e5dac55 Use $MANAGERDN to update one of the passwords (to test proxy support) 2000-10-11 02:14:57 +00:00
Kurt Zeilenga
0c3344eef3 Fix typo in last commit 2000-10-01 22:49:07 +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
d4dee7c427 Don't fail if backend doesn't support indexing 2000-09-28 02:29:04 +00:00
Kurt Zeilenga
c1aeb0b9ed Use ordered input to slapadd(8) as required by back-bdb 2000-09-26 20:28:55 +00:00
Kurt Zeilenga
08d397f65d Use root-dse to verify schema files 2000-09-13 14:31:22 +00:00
Kurt Zeilenga
e651635801 Just catch error, don't explain it 2000-09-13 01:16:10 +00:00
Randy Kunkee
b8569b2b1d Grep for PRNG message in $SEARCHOUT to make sure error is caught. 2000-09-10 19:38:21 +00:00
Kurt Zeilenga
6c6b4d2895 Add a root dse test to flush out misc problems (like TLS PRNG) 2000-09-08 05:38:08 +00:00
Kurt Zeilenga
d7f3cdfc7b Update based upon ldappasswd(1) usage change 2000-09-06 18:55:31 +00:00
Kurt Zeilenga
57deefc94f Working slapindex! 2000-07-26 19:48:02 +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
daacf23672 Report return code on failure 2000-07-04 22:11:12 +00:00
Kurt Zeilenga
20e6dcec3b Improved but still broken client tools. 2000-07-04 21:49:00 +00:00
Kurt Zeilenga
7ced460520 Update slurpd to use LDAPv3 w/ ManageDSAit
Remove slurpd kbind support as this requires LDAPv2
Backout back-ldbm/referrals.c update_ndn hack
2000-06-25 22:45:28 +00:00
Kurt Zeilenga
6020fe58e8 Modified slapd to be slurpd friendly.
Slurpd incorrectly sends a separate attribute for each value of an
	attribute which caused slapd to complain.  Hacked slapd/add.c
	to merge values.
	Slurpd uses version 2 and hence cannot set ManageDSAit.  Hack
	slapd/back-ldbm/referral.c such that if update_ndn matches
	o_ndn, no referrals are returned.
Fix replication tests
	ldapmodify must be made against master as no rebind proc exists
	final ldapsearch should not chase
Fix referral tests
	Use -C option as needed
2000-06-25 20:07:40 +00:00
Kurt Zeilenga
5f20cf1ed5 Modify ldapsearch(1) significantly. Now handles LDAPv3 search
references, extended results, and extended partial results.  LDIF
extended to support these new features and reported version 2.
-L now limits output to LDIFv1 for compatibility reasons.  No
-L is now LDIFv2.  Old alternative form is no longer supported.

Use LDAP_TMPDIR (in ldap_config.h) instead of hardcoded /tmp
Use LDAP_FILE_URI_PREFIX (in ldap_config.h) instead of hardcoded
	file://tmp/
2000-06-25 00:35:17 +00:00
Kurt Zeilenga
d0afc90110 Use $CMP, not cmp 2000-05-28 19:53:37 +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
3bb1b752c6 Remove dependency upon umichPilotPerson (use just newPilotPerson) 2000-05-23 21:36:44 +00:00
Kurt Zeilenga
af7f636c3d s/rfc822mailgroup/groupofnames/ as we don't have a LDAPv3 mailgroup spec 2000-05-23 19:47:54 +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
05532e03f9 Update test005-modrdn to handle success without entries 1999-08-26 00:22:05 +00:00
Kurt Zeilenga
59d3e50ae3 s/ldif2ldbm/slapadd/ 1999-08-22 17:10:23 +00:00
Kurt Zeilenga
c0aa6fa4e6 Rename test001 from test001-ldif2ldbm to test001-slapadd (repo move). 1999-08-22 17:08:41 +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
ecbb75f930 Update the sleep to 10 seconds (last commit only changed the echo) 1999-08-03 21:47:35 +00:00
Kurt Zeilenga
64be0a23bb 5 seconds just isn't long enough 1999-08-03 21:46:44 +00:00
Hallvard Furuseth
eaf331f4aa Use $SLURPD_DEBUG 1999-08-01 21:33:37 +00:00
Kurt Zeilenga
07b734035d Kludge ldapmodify to accept "version: 1" in LDIF input. 1999-07-31 00:35:30 +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