Commit Graph

1106 Commits

Author SHA1 Message Date
Pierangelo Masarati
d9f63b082e on Solaris, /bin/sh is not bash; grep doesn't like ^auditcontext: without quotes 2007-02-24 18:30:40 +00:00
Pierangelo Masarati
225e0014eb fix exit code 2007-02-13 23:31:49 +00:00
Howard Chu
a256afcdc3 Exit if no values returned in do_random 2007-02-13 11:25:51 +00:00
Howard Chu
eecd3d7fe1 Remove cruft 2007-02-11 23:27:50 +00:00
Howard Chu
461461937b Use contextCSN checks to control delays 2007-02-11 14:24:35 +00:00
Howard Chu
3dc5b417d2 Coverity leak 2007-02-11 12:05:32 +00:00
Howard Chu
6fd5e36907 Test modify/undo in back-config 2007-02-07 17:09:20 +00:00
Howard Chu
5e8207af12 Additional syncrepl timeouts needed 2007-02-06 12:32:37 +00:00
Howard Chu
ca5a7249f2 Fix startup, use explicit serverIDs from the beginning 2007-02-06 00:06:52 +00:00
Howard Chu
910f8ba200 Preliminary multimaster replication test 2007-02-05 11:10:33 +00:00
Pierangelo Masarati
b12a395b12 make sure replication finished before comparing data (under valgrind, replication may take ages) 2007-01-28 10:35:50 +00:00
Pierangelo Masarati
08ddb6f133 fix previous commit (wrong dir count) 2007-01-28 10:10:27 +00:00
Pierangelo Masarati
2449625813 cleanup 2007-01-27 18:39:36 +00:00
Pierangelo Masarati
beeede6c0c make it easier to run slapd under valgrind 2007-01-27 18:33:19 +00:00
Pierangelo Masarati
5bf79a5686 fix modify opattrs sync replication (ITS#4820; test019 can't be fixed right now) 2007-01-27 16:38:20 +00:00
Howard Chu
24e1db824a ITS#4809 do a modrdn as a normal user to check if modifiersName is
propagated. Return all operational attributes as well as user
attributes for final comparison; DBs should be 100% identical
except for the auditContext attribute which only exists on the master.
2007-01-24 09:35:18 +00:00
Howard Chu
b2c2c1a777 Test slave bootstrapping via syncrepl 2007-01-22 13:42:34 +00:00
Howard Chu
f77232769c Need retry parameter for valid restart test 2007-01-22 10:01:32 +00:00
Hallvard Furuseth
adfaee0245 make sloops, rloops etc. static so their addresses can be used in initializer. 2007-01-11 13:47:29 +00:00
Hallvard Furuseth
3ef684fd04 ctype.h args should be in the range of unsigned char (or EOF). 2007-01-11 12:00:39 +00:00
Pierangelo Masarati
b0f06da400 improve disconnect handling 2007-01-05 16:18:42 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
73c2e093d4 ITS#4777 test delete of remote attribute 2006-12-12 20:00:43 +00:00
Kurt Zeilenga
80d74dc2cd Monitor attributes should have dSAOperation usage,
not directoryOperation usage.  Update test000 to
request return of only @monitor attributes.
2006-12-08 02:30:11 +00:00
Pierangelo Masarati
0a94c35c14 don't keep searching referrals... 2006-12-03 21:37:40 +00:00
Pierangelo Masarati
dd5e44d496 make sure -i propagates correctly 2006-12-03 21:34:24 +00:00
Pierangelo Masarati
dbe9a54ec0 document -I switch 2006-12-03 20:55:52 +00:00
Pierangelo Masarati
2e4ab03f1f revert -I for slapd-bind 2006-12-02 10:25:56 +00:00
Howard Chu
c812e3fdf1 Fix modify ops 2006-11-27 19:15:28 +00:00
Pierangelo Masarati
17296f11e7 add support for extra ops after bind; allow to skip bind for slapd-search/read 2006-11-18 18:25:46 +00:00
Howard Chu
7703e7e3a9 ITS#4490 fix awk comment 2006-11-12 23:40:36 +00:00
Howard Chu
f0fade4d96 Fix typo in prev commit 2006-11-12 00:14:23 +00:00
Howard Chu
cbb26d38bf Fix prev commit, better test for multiple URI matches 2006-11-12 00:08:08 +00:00
Howard Chu
30261efb18 ITS#4744 test URL matching with multiple entries returned 2006-11-11 23:47:09 +00:00
Pierangelo Masarati
fd0176e49c fix test output; clarify rationale 2006-11-05 09:25:49 +00:00
Howard Chu
3b565d4310 modify/replace test for ITS#4728 2006-11-02 19:14:23 +00:00
Pierangelo Masarati
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Pierangelo Masarati
f8d1a61866 more on clarification of special proxy identities and resilience to connection failure 2006-10-07 18:07:56 +00:00
Pierangelo Masarati
0e151a91bc add rootdn 2006-10-07 13:12:42 +00:00
Pierangelo Masarati
d25dfcbe92 append logs 2006-09-04 08:29:47 +00:00
Pierangelo Masarati
449bd2af7f fix typo 2006-08-31 13:35:01 +00:00
Pierangelo Masarati
5d3121902f Add single-password constraint; NOTE from ppolicy.c:
/* FIXME: there's no easy way to ensure
 * that add does not cause multiple
 * userPassword values; one way (that
 * would be consistent with the single
 * password constraint) would be to turn
 * add into replace); another would be
 * to disallow add.
 *
 * Let's check at least that a single value
 * is being added
 */
2006-08-28 12:44:39 +00:00
Pierangelo Masarati
c838ce513d initialize random seed; use high-order bits for better randomness 2006-08-25 15:15:13 +00:00
Kurt Zeilenga
3d667a4705 remove dontusecopy ifdefs 2006-08-22 20:57:33 +00:00
Kurt Zeilenga
97fa3f1efd More LDAP_DEVEL cleanup
Rename ManageDIT to Relax
2006-08-22 00:45:16 +00:00
Pierangelo Masarati
4e1df1ed46 test undefined attribute in filter 2006-08-17 12:23:25 +00:00
Pierangelo Masarati
ee3c999166 now syncprov wants lastmod on (ITS#4632) 2006-08-06 13:09:42 +00:00
Pierangelo Masarati
7215346d1d fix prev. commit 2006-07-01 18:27:53 +00:00
Pierangelo Masarati
b6693c3632 remove password from command line 2006-07-01 18:22:43 +00:00
Pierangelo Masarati
a9c7c243c1 need to be bound to lookup userPassword; cleanup 2006-07-01 16:45:44 +00:00
Luca Scamoni
c0504b05a5 backend hardcoded in dynamic configuration makes test fail 2006-06-26 10:48:36 +00:00
Howard Chu
1759552607 Fix typos 2006-06-24 02:09:42 +00:00
Howard Chu
da33140d7c Fix use of generated passwords 2006-06-24 02:00:31 +00:00
Howard Chu
d2cf303008 Fix use of generated password 2006-06-24 01:59:54 +00:00
Howard Chu
fe58e68049 Fix prev commit 2006-06-24 01:46:12 +00:00
Howard Chu
40053ac203 Generate random configpw, use dynamic config for translucent test 2006-06-24 01:36:18 +00:00
Pierangelo Masarati
e8298cd3a5 further checks for ITS#4587 2006-06-14 18:31:35 +00:00
Pierangelo Masarati
f6e4f20254 test for ITS#4587; another bit of fix for that 2006-06-13 08:53:34 +00:00
Pierangelo Masarati
a8c073fac1 only allow back-ldap/meta as modules if --enable-dynamic (ITS#4564) 2006-06-12 18:09:30 +00:00
Pierangelo Masarati
5ae3ee1cde cleanup 2006-06-12 18:08:51 +00:00
Howard Chu
aa6bd34724 Add short sleeps to allow deferred refint to complete 2006-06-12 14:06:40 +00:00
Pierangelo Masarati
0e4fae93be further cleanup; fix filter specification for slapd-bind 2006-06-10 15:20:55 +00:00
Pierangelo Masarati
a3167cc8a2 cleanup 2006-06-09 23:13:08 +00:00
Pierangelo Masarati
04b41bd6a4 under development with 2.3, sorry :) 2006-06-09 21:23:36 +00:00
Pierangelo Masarati
0f2601d0da allow selective handling of errors 2006-06-09 09:30:36 +00:00
Pierangelo Masarati
1b23abb108 cleanup testers 2006-06-09 00:11:34 +00:00
Luca Scamoni
c4ed812179 monitor can be a module 2006-06-05 12:10:44 +00:00
Howard Chu
d8442daba6 Fix suffix in prev commit 2006-05-29 21:26:00 +00:00
Howard Chu
e9c0d855e9 Test syncrepl with multiple back-ldap consumers in the master slapd 2006-05-29 07:49:25 +00:00
Pierangelo Masarati
94c95c6785 cleanup test 2006-05-24 09:43:05 +00:00
Pierangelo Masarati
29dd199f8f fix test045 (after ITS#4552) 2006-05-20 17:43:12 +00:00
Howard Chu
86899b0bda ITS#4544 skip test if syncprov overlay unavailable 2006-05-14 22:40:43 +00:00
Pierangelo Masarati
9e3581ba64 allow to select credentials; allow subtree search 2006-05-14 17:18:55 +00:00
Pierangelo Masarati
27acc8b2cf add "-n" to omit trailing newline 2006-05-11 14:41:34 +00:00
Howard Chu
d07951762a ITS#4535 use randomly generated password for config database 2006-05-11 03:10:45 +00:00
Howard Chu
e849a6ebb8 ITS#4535 add umask to restrict file access to creator 2006-05-10 23:51:05 +00:00
Howard Chu
e59fb036c9 ITS#4491, abort test if debug messages are missing 2006-04-29 08:46:32 +00:00
Hallvard Furuseth
95f90b5759 Only use "index" directive in bdb and hdb 2006-04-26 15:36:15 +00:00
Hallvard Furuseth
d9b243072c Fix misplaced ">>>>> Test succeeded" messages 2006-04-26 15:08:34 +00:00
Pierangelo Masarati
484ca8db59 only the right error is acceptable 2006-04-25 21:11:17 +00:00
Hallvard Furuseth
54174d3072 "access to attr=" => "... attrs=" 2006-04-24 22:53:22 +00:00
Pierangelo Masarati
d3dcc83bf1 cleanup (now that everything seems to work); leave workarounds in place just in case 2006-04-15 11:22:38 +00:00
Kurt Zeilenga
02408c930d remove more LDBM cruft 2006-04-11 18:48:26 +00:00
Kurt Zeilenga
0bbbbc689b remove LDBM cruft 2006-04-11 18:29:23 +00:00
Pierangelo Masarati
484ba6834b allow extra message in errors 2006-04-08 11:01:01 +00:00
Pierangelo Masarati
267486bfad fix ITS#4479 2006-04-06 23:48:55 +00:00
Kurt Zeilenga
721e1c87a8 Have slapd-bind reuse LDAP session (no init). 2006-04-06 19:01:08 +00:00
Kurt Zeilenga
3462baf8bc Use standard compliant filter strings 2006-04-05 18:57:46 +00:00
Pierangelo Masarati
7420472b42 warn in case of error 2006-04-05 18:20:00 +00:00
Pierangelo Masarati
ffc69eadde add missing "break" to previous commit 2006-04-05 18:15:30 +00:00
Pierangelo Masarati
582ee9675f silence warning 2006-04-04 21:07:53 +00:00
Pierangelo Masarati
6d357288d6 allow time/size limit errors as soon as some data is returned; don't divide by zero if no entries were found 2006-04-04 17:55:27 +00:00
Pierangelo Masarati
e45d11b42f cleanup "matched" output 2006-04-04 00:04:39 +00:00
Pierangelo Masarati
56aa6ba1f4 only loop for read/search/bind 2006-03-31 21:35:56 +00:00
Howard Chu
9cc5c6295f Plug leaks 2006-03-31 09:18:38 +00:00
Pierangelo Masarati
24cdb2b280 fix test047 2006-03-29 11:12:10 +00:00
Pierangelo Masarati
117ba158da glued back-ldap comprehensive test (should have been put before test039...) 2006-03-28 21:54:56 +00:00
Pierangelo Masarati
e5e8a5a597 fix previous commit: count to nreqs or maxkids, whatever is larger 2006-03-28 11:51:40 +00:00
Pierangelo Masarati
f30c613c5f allow attrsonly; allow "random" read 2006-03-28 00:14:11 +00:00
Pierangelo Masarati
9003f3cfa4 make referral chasing optional 2006-03-25 10:13:30 +00:00
Pierangelo Masarati
82d50f40ed don't chase referrals (essentially, because it may cause an endless loop in libldap/request.c:ldap_chase_v3referrals) 2006-03-25 08:10:31 +00:00
Pierangelo Masarati
6cfb262564 check regression of ITS#4448 2006-03-24 01:19:54 +00:00
Pierangelo Masarati
86941d0c70 improve referral handling 2006-03-23 00:19:09 +00:00
Kurt Zeilenga
ffee887d71 Update certificate schema to use IANA assigned OIDs 2006-03-08 20:07:25 +00:00
Pierangelo Masarati
e46f2a137c add search capabilities from a selected pool of filters 2006-03-04 19:27:27 +00:00
Pierangelo Masarati
7ec2c64e73 add anonymous binding 2006-03-03 16:03:05 +00:00
Pierangelo Masarati
cfa9178822 split operations in inner/outer loops 2006-03-03 16:02:34 +00:00
Pierangelo Masarati
9c1ca54d1a cleanup 2006-03-03 16:02:07 +00:00
Kurt Zeilenga
4c64b8626d Add support for GSER-encoded certificateExactAsssertion values 2006-03-03 04:54:49 +00:00
Howard Chu
8e682b5e64 Add a delay in delete check 2006-02-27 09:45:03 +00:00
Howard Chu
94ee25b0d6 ITS#4417 add test for ldapdelete 2006-02-27 09:35:54 +00:00
Kurt Zeilenga
f1c98ef3c0 All big PDUs for PROTOS testing (devel only) 2006-02-16 05:01:05 +00:00
Pierangelo Masarati
54b621658b refine previous commits 2006-02-07 19:11:51 +00:00
Pierangelo Masarati
1b95d308b9 further cleanup 2006-02-06 22:08:02 +00:00
Pierangelo Masarati
61da1918a6 allow to reuse the same connection for multiple binds 2006-02-04 16:33:12 +00:00
Pierangelo Masarati
f13f88bbee add some failed binds (but don't log too much) 2006-02-03 17:58:07 +00:00
Howard Chu
6c062ca841 Use pcache debug level 2006-02-02 08:36:41 +00:00
Pierangelo Masarati
72d27f225d check regression of ITS#4380 2006-02-01 21:59:34 +00:00
Howard Chu
8ce19e5c75 Use -d cache instead of -d trace 2006-02-01 19:32:42 +00:00
Pierangelo Masarati
cf94f444fc -FF means: log just once 2006-01-21 16:27:15 +00:00
Pierangelo Masarati
26cf7548ef cleanup message 2006-01-17 23:38:21 +00:00
Pierangelo Masarati
327fd9e7f8 ready to test sibling renaming 2006-01-16 23:27:47 +00:00
Pierangelo Masarati
ef29f9a349 test needs "trace" 2006-01-14 17:19:09 +00:00
Howard Chu
002b826c30 Replace sleep with wait. Note that KILLSERVERS doesn't make much sense
here since the script has to respawn the servers anyway.
2006-01-13 21:32:24 +00:00
Pierangelo Masarati
2d3e7de49b further rewording and clarifications 2006-01-13 11:25:56 +00:00
Pierangelo Masarati
8af95e1320 rationale of this test 2006-01-13 11:01:40 +00:00
Pierangelo Masarati
cad464e96d cleanup 2006-01-13 10:55:13 +00:00
Pierangelo Masarati
d48653d64a trace regressions to ITS#4336 2006-01-13 10:42:45 +00:00
Pierangelo Masarati
4c39d2c5a0 improve tester_ldap_error 2006-01-12 21:26:54 +00:00
Pierangelo Masarati
c9b3cf7fab remove workaround for fixed issue 2006-01-12 18:41:19 +00:00
Howard Chu
9cf636a460 ITS#4334 add test of invalid Binds 2006-01-12 15:52:48 +00:00
Pierangelo Masarati
120916a962 rework tester common error logging and so 2006-01-12 13:01:38 +00:00
Pierangelo Masarati
c7882ef594 add a comment to indicate why "lastmod off" is there (ITS#4330) 2006-01-11 22:12:11 +00:00
Pierangelo Masarati
38234aef64 check regression of ITS#4326 2006-01-11 16:13:53 +00:00
Howard Chu
fb30dabd14 Add a delay while consumer is down to exercise proxy retry 2006-01-11 07:38:21 +00:00
Howard Chu
139aa12e6f A few more waits 2006-01-11 05:45:05 +00:00
Howard Chu
604f7fb9db Use shell "wait" instead of fixed 10 second wait-for-things-to-die 2006-01-11 05:25:09 +00:00
Pierangelo Masarati
8f2342f92a fix resource handling 2006-01-09 16:14:26 +00:00
Pierangelo Masarati
9d66e18c9b allow to easily override the default loop number 2006-01-09 15:26:40 +00:00
Pierangelo Masarati
feca42277f add bind to stress tests 2006-01-09 14:21:33 +00:00
Howard Chu
a2933d10d4 ITS#4316 test subset of attrset 2006-01-09 13:59:17 +00:00
Howard Chu
524838dd73 ITS#4316 test subset behavior 2006-01-09 13:57:21 +00:00
Pierangelo Masarati
0f85864c79 add a test for binding with non-existing user 2006-01-07 10:58:46 +00:00
Pierangelo Masarati
ab1fa23b02 fix message 2006-01-06 18:39:14 +00:00
Pierangelo Masarati
24374846be fix copyright years 2006-01-06 18:25:22 +00:00
Pierangelo Masarati
339b9c371e rfc2589 support (ITS#4293) 2006-01-06 17:46:52 +00:00
Pierangelo Masarati
a54ca7a6ce factor ACI code out of slapd; now it can only use dynacl layer 2006-01-06 17:12:35 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
e43eae8d36 fix ITS#4297 (there shouldn't be any more) 2006-01-03 18:04:12 +00:00
Pierangelo Masarati
b2d7c34b14 check the response code of each modification 2006-01-02 15:33:59 +00:00