Commit Graph

1220 Commits

Author SHA1 Message Date
Rein Tollevik
74e4f9051f Only use a db_stat in PATH if it matches our environment. 2008-11-18 22:16:42 +00:00
Pierangelo Masarati
00eade08df add indexes when supported; syncrepl on configuration should always be refreshAndPersist 2008-11-16 23:06:30 +00:00
Pierangelo Masarati
89cec8c881 add indexes (when supported) 2008-11-16 22:57:38 +00:00
Pierangelo Masarati
f61459580d allow syncrepl to retry 2008-11-16 22:55:32 +00:00
Howard Chu
8726452d8f Fix prev commit 2008-11-16 09:07:19 +00:00
Hallvard Furuseth
947612e72f Kill slapd before exiting 2008-11-16 04:33:11 +00:00
Emmanuel Dreyfus
245bb35eca Add a test for attribute value regex substitution. Cf ITS#5804 2008-11-15 16:51:56 +00:00
Pierangelo Masarati
2c6b5c0ea9 allow each (back-config) syncrepl test to use the preferred sync type, but allow changing it via the -s switch for ./run 2008-11-15 15:05:12 +00:00
Pierangelo Masarati
f7a8ce8763 use replication specific indexes 2008-11-15 15:02:07 +00:00
Pierangelo Masarati
c6f423cd05 use decent checkpoint parameters 2008-11-15 15:01:32 +00:00
Pierangelo Masarati
563a506553 add indexes to meta target 2008-11-15 12:32:27 +00:00
Hallvard Furuseth
fda00af4c1 ITS#5408: Support back-ldif 2008-11-12 01:00:56 +00:00
Quanah Gibson-Mount
09438f3d30 Set add_content_acl to on 2008-11-10 22:58:23 +00:00
Quanah Gibson-Mount
34d1b413a2 fix missing cvs revision header 2008-11-10 19:49:04 +00:00
Pierangelo Masarati
f6dd785a46 parallel load test (ITS#5709) 2008-11-02 23:48:16 +00:00
Pierangelo Masarati
759ba16fb7 s/manageDIT/relax/ (ITS#5780) 2008-10-30 14:16:22 +00:00
Hallvard Furuseth
d68ba23ab8 ITS#5750: Fix nameUIDPretty() bitstring in Name and Optional UID syntax.
Also update a comment about parsing this syntax.
2008-10-18 11:09:55 +00:00
Pierangelo Masarati
c2090e9944 check dangling reference (ITS#5742) 2008-10-17 00:07:15 +00:00
Quanah Gibson-Mount
16c307b8b8 s/LOOPS/TESTLOOPS/ 2008-10-06 19:58:52 +00:00
Pierangelo Masarati
d5ac6c4630 s/LOOPS/TESTLOOPS/ 2008-10-05 21:29:16 +00:00
Pierangelo Masarati
b7b38b07f4 give appropriate write permissions for add (ITS#5723) 2008-10-05 21:28:28 +00:00
Emmanuel Dreyfus
7f085e8b8b The fix to ITS#4556 broke this test: modifying objectClass was forbidden
for anyone, and since LDAP additions now check for attribute write access,
the addition now fails.

Allowing objectClass write access for the user that performs the LDAP
addtition fixes the problem.

Approved by ando@
2008-10-04 10:12:11 +00:00
Pierangelo Masarati
93fe70d6c7 add tests specific to mapped attrs (ITS#5717) 2008-09-29 21:51:06 +00:00
Pierangelo Masarati
a0e3e68a02 allow controls deletion to be deferred; pass response controls back to frontend in extops (ITS#5711) 2008-09-27 10:06:43 +00:00
Pierangelo Masarati
7402de4ad7 fix typo in comment 2008-09-20 11:29:32 +00:00
Quanah Gibson-Mount
f028effb17 Add missing revision string 2008-09-03 21:05:54 +00:00
Howard Chu
f6edefa25d Add back-ndb 2008-08-26 21:48:17 +00:00
Pierangelo Masarati
b9930aef96 add monitor testing to concurrency tests data 2008-07-19 14:28:41 +00:00
Pierangelo Masarati
99d135cc7a add monitor testing to concurrency tests data 2008-07-19 14:01:44 +00:00
Pierangelo Masarati
38946e1a7f fix logs indentation 2008-07-19 11:54:54 +00:00
Pierangelo Masarati
ffea61188a add checkpoint as required 2008-07-19 11:54:38 +00:00
Pierangelo Masarati
94234abcce allow easy customization of amount of loops 2008-07-19 11:54:01 +00:00
Pierangelo Masarati
9b9bbdfcc5 also check entryCSN 2008-07-19 11:53:22 +00:00
Pierangelo Masarati
9607b5f2f7 populate consumer2 as well; mix cleanup 2008-07-19 11:52:43 +00:00
Pierangelo Masarati
783393e039 idle-timeout seems to break test036 2008-07-13 23:33:18 +00:00
Pierangelo Masarati
790c4d8399 make sure back-ldap is available; only load required modules (ITS#5355) 2008-06-30 10:18:37 +00:00
Howard Chu
51c2ef2379 ITS#5529 test requires threads 2008-06-10 22:19:18 +00:00
Gavin Henry
ce4c7b0c55 typo cleanup while creating some contrib scripts as part of the TODO. 2008-06-05 12:59:22 +00:00
Howard Chu
1300a390c0 Fix logging, ITS#5536 2008-05-29 23:31:40 +00:00
Howard Chu
25f8500008 ITS#5470 revert prev commit, use 3 second timeouts 2008-05-05 23:40:02 +00:00
Howard Chu
9ec63cbed1 Remove syncrepl timeouts 2008-05-05 23:18:09 +00:00
Howard Chu
93794027a9 ITS#5451 test for deadlock 2008-05-02 10:49:00 +00:00
Howard Chu
5de6bbcbe0 ITS#5437, #5444 add entry to consumer 2008-04-03 08:55:15 +00:00
Howard Chu
fcb92905f7 define LDIFADD1 2008-04-03 08:52:35 +00:00
Howard Chu
54eb7e8ad2 add dn: prefix to allow use with ldapmodify 2008-04-03 08:51:31 +00:00
Howard Chu
67bb145098 Should accept regular LDIF input 2008-04-03 08:50:19 +00:00
Pierangelo Masarati
4117b4d44e add was failing because not compliant with schema 2008-03-15 16:32:24 +00:00
Hallvard Furuseth
8d83461ac5 Fix CVS tags 2008-02-11 22:47:32 +00:00
Hallvard Furuseth
9ebe788370 ITS#5344: modrdn check for affectsMultipleDSAs and for new DN above/below self 2008-02-11 17:29:55 +00:00
Pierangelo Masarati
440099d271 fix test; don't return error when relaying exops 2008-01-15 21:59:23 +00:00
Pierangelo Masarati
b203d37cae fix test 2008-01-14 17:28:01 +00:00
Howard Chu
785c95c280 ITS#5319 test renames to same DN 2008-01-11 03:17:37 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Hallvard Furuseth
1d1b05e518 More ITS#5265: Disable unsupported back-ldif tests 2008-01-07 22:50:01 +00:00
Howard Chu
4be35d010a Add BindDN, separate LDAP session for searches, sample interval option 2007-12-22 04:41:28 +00:00
Pierangelo Masarati
84e87f3912 test047 needs slapo-rwm (ITS#5292) 2007-12-20 10:58:29 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
ebc16e5e66 Add tests for ITS#5283 2007-12-15 01:03:36 +00:00
Quanah Gibson-Mount
1c73847a2c Replace hard coded directory references with TESTDIR variable 2007-12-14 20:03:09 +00:00
Pierangelo Masarati
0792415c92 sort test output 2007-12-11 17:05:31 +00:00
Pierangelo Masarati
f9ec3a5792 sort test output 2007-12-11 16:36:28 +00:00
Howard Chu
18a1a13ad7 awk portability fix 2007-11-29 13:45:55 +00:00
Howard Chu
62b0b10edf Trim debug flag 2007-11-28 16:40:04 +00:00
Gavin Henry
465b19af47 test050 extended to run with 3 slapd instances. Please test. 2007-11-19 18:20:31 +00:00
Howard Chu
f3c82a78a0 ITS#5193 don't use "cd; pwd" to get the absolute path of schema dir 2007-10-19 04:17:28 +00:00
Howard Chu
2edc5dc11a Streamlined WeightedAuthRate load generator ala SLAMD 2007-10-11 11:06:29 +00:00
Howard Chu
bf33d106fa Must terminate bind tester args list 2007-10-03 07:02:28 +00:00
Pierangelo Masarati
cdc69f8685 use same configuration for back-ldap/meta tests 2007-09-29 11:59:04 +00:00
Pierangelo Masarati
fedcbe9a41 better fix for ITS#5154 2007-09-29 11:45:37 +00:00
Ralf Haferkamp
ebd5d088cf Adjustments to make testcase working again after ITS#5113 fixes. 2007-09-26 23:28:38 +00:00
Pierangelo Masarati
7ea665ae74 fix bind tester arglist 2007-09-26 23:08:38 +00:00
Luca Scamoni
6a729e44a8 use BACKEND variable instead of hardcoding bdb 2007-09-17 12:22:43 +00:00
Pierangelo Masarati
347776960c test dgAuthz 2007-09-15 10:18:40 +00:00
Pierangelo Masarati
aa081c4b71 make changing the basedn easier 2007-09-15 10:17:55 +00:00
Pierangelo Masarati
77d3fe1106 fix path 2007-09-15 00:04:22 +00:00
Gavin Henry
efefc82b18 Small typo. 2007-09-14 15:33:53 +00:00
Pierangelo Masarati
9f3f281df0 fix test when slapo-memberof(5) built as module (ITS#5132) 2007-09-13 17:58:10 +00:00
Pierangelo Masarati
03ac28c541 slapo-memberof test 2007-09-12 21:13:49 +00:00
Pierangelo Masarati
1157b6dc6a handle sizelimit in caching (in partial fulfilment of ITS#5114) 2007-09-12 21:09:04 +00:00
Pierangelo Masarati
5c932d9a6c move test schema to "published OID arc" (under 1.3.6.1.4.1.4203.1.12.1) 2007-09-05 08:41:59 +00:00
Howard Chu
54517b9fb2 ITS#5117 use absolute FILE URLs 'cause BSD libfetch is braindead 2007-09-02 01:59:04 +00:00
Pierangelo Masarati
f05c7c06bf don't mention ldbm any more 2007-09-01 17:33:07 +00:00
Quanah Gibson-Mount
23719fc73e Remove reference to slurpd. 2007-08-31 23:09:20 +00:00
Pierangelo Masarati
58a0bcc7a9 fix OID 2007-08-29 22:23:02 +00:00
Howard Chu
47be79d4f3 Use dynamic config, test dgIdentity 2007-08-25 00:14:56 +00:00
Pierangelo Masarati
9066d14290 add support for tree delete along with minor fixes (portions ITS#3497) 2007-08-21 14:52:43 +00:00
Pierangelo Masarati
1a86e38815 don't leak URL 2007-08-20 22:24:48 +00:00
Pierangelo Masarati
2c13f86cec support subtree rename (ITS#5097) 2007-08-20 19:06:18 +00:00
Pierangelo Masarati
b155fc666c show scope and attrs; check if anything at all is configured 2007-08-20 18:03:44 +00:00
Pierangelo Masarati
43d069adac fix error message 2007-08-17 12:39:17 +00:00
Pierangelo Masarati
6f2d043907 handle exceptions; spotted by coverity 2007-08-16 11:34:55 +00:00
Pierangelo Masarati
df7f9db8ac use URI to configure client; enable attrlist in slapd-search 2007-08-13 16:20:24 +00:00
Pierangelo Masarati
147f1c157f use RFC4523 objectClasses 2007-08-11 09:32:24 +00:00
Pierangelo Masarati
61787df79b add back-config support to back-relay 2007-08-06 23:22:19 +00:00
Howard Chu
b7b32d7448 ITS#5036 fix prev commit 2007-07-05 12:40:03 +00:00
Howard Chu
7ada84dd09 ITS#5036 fix back-monitor dependency 2007-07-03 16:45:04 +00:00
Gavin Henry
73852484e2 Removing left over lines. 2007-06-14 23:24:48 +00:00
Gavin Henry
aa411f1bd1 Removed all references to ldbm from test data and man pages. Only slapd-ldbm.5 left. 2007-06-14 22:29:29 +00:00
Pierangelo Masarati
1c4ec9ab1b allow internal access to monitor database (as per ITS#4965) 2007-06-09 14:13:04 +00:00
Hallvard Furuseth
101b6b9363 Fix --without-tls (ITS#4975). Enable certificate matching. 2007-05-20 22:48:21 +00:00
Hallvard Furuseth
9fd99cd566 Only use terminal escapes (in $TB/$TN) when printing to a terminal.
Remove a bogus 'waiting' message; the script does not sleep there.
2007-05-19 21:26:54 +00:00
Pierangelo Masarati
b0b098258f test fix to ITS#4964 2007-05-19 14:17:34 +00:00
Hallvard Furuseth
2d5316b4c1 Only use terminal escapes (in $TB/$TN) when printing to a terminal. 2007-05-18 18:42:59 +00:00
Hallvard Furuseth
ca01abae04 clean-local: Delete configpw configpw.conf 2007-05-18 15:32:50 +00:00
Hallvard Furuseth
73aaead5bd Re-fixing ITS#2667: test -a and test -o unportable, use && and ||. 2007-05-18 15:23:28 +00:00
Howard Chu
6d01c81596 Test no longer depends on --with-tls 2007-05-13 09:35:57 +00:00
Pierangelo Masarati
b013847111 fix ';binary' certificate transport (ITS#4868); add cert to sql-test000 (mysql; psql untested) 2007-04-12 01:02:01 +00:00
Howard Chu
819cf670f3 slurpd is strongly deprecated 2007-04-05 23:28:06 +00:00
Pierangelo Masarati
78d8d6e06d add support for pagedResults to back-sql (ITS#4888) 2007-03-22 23:10:56 +00:00
Howard Chu
d9958cbdbe Enhanced unique configuration 2007-03-22 08:22:53 +00:00
Pierangelo Masarati
12fa465fd9 ld could be used after ldap_unbind_ext() 2007-03-18 20:44:11 +00:00
Howard Chu
7cca5d1cef Fix prev commit 2007-03-12 21:17:44 +00:00
Howard Chu
94a11462a1 Fixes (mostly from Buchan Milne) to make all generated files relative
to $TESTDIR
2007-03-09 09:34:41 +00:00
Pierangelo Masarati
228f754299 don't remember where, but without quotes it fails 2007-02-26 20:37:33 +00:00
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