Commit Graph

1166 Commits

Author SHA1 Message Date
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
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