Commit Graph

800 Commits

Author SHA1 Message Date
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
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
26cf7548ef cleanup message 2006-01-17 23:38:21 +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
cad464e96d cleanup 2006-01-13 10:55:13 +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
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
9d66e18c9b allow to easily override the default loop number 2006-01-09 15:26:40 +00:00
Howard Chu
a2933d10d4 ITS#4316 test subset of attrset 2006-01-09 13:59:17 +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
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
Pierangelo Masarati
3897c50da9 test handles known issues so it can be always on in HEAD 2005-12-26 17:04:04 +00:00
Pierangelo Masarati
ec0ef0f6e7 forgot to filter original data ... 2005-12-22 13:06:09 +00:00
Pierangelo Masarati
108dbb95f8 fix test014 error codes and data logic 2005-12-22 08:47:31 +00:00
Pierangelo Masarati
92ef3ba790 check "pretty" entryUUID; use a DN with entryUUID as naming attr in filter 2005-12-21 00:08:13 +00:00
Kurt Zeilenga
adfa1f5918 Revert last change
Need to rework test to check expected results on a per request
basis.
2005-12-20 21:58:56 +00:00
Kurt Zeilenga
bf987dc8fb Check return of ldapadd(1) 2005-12-20 21:54:47 +00:00
Pierangelo Masarati
ed05c70208 add regression testing infrastructure 2005-12-20 19:46:07 +00:00
Pierangelo Masarati
3517bdf260 revert previous commit(s); clarify usage of "-s" in slapd(8). 2005-12-20 08:20:16 +00:00
Pierangelo Masarati
6650f07f50 allow (and use) symbolic names for syslog levels 2005-12-19 22:55:30 +00:00
Pierangelo Masarati
d572ba8aa6 fix ITS#4141 (better fix: split into 3 slapd; but it all makes little sense without threads...) 2005-12-16 16:38:15 +00:00
Pierangelo Masarati
1bfd1c7e3f further improve test 2005-12-16 16:21:41 +00:00
Pierangelo Masarati
941d418b33 take care of the (yet unpublished) evolution of <draft-zeilenga-ldap-assert> 2005-12-16 15:00:05 +00:00
Pierangelo Masarati
d71bef1a47 fix a couple of error messages; only test bdb & hdb 2005-12-16 14:36:09 +00:00
Pierangelo Masarati
79cc85f354 rework test setup; seems to fix ITS#4264 (see link inside) 2005-12-16 14:12:55 +00:00
Pierangelo Masarati
74948b9b04 save output across searches 2005-12-16 12:19:53 +00:00
Pierangelo Masarati
df20af5c87 save all intermediate searches to help debugging 2005-12-15 21:43:46 +00:00
Pierangelo Masarati
9cd9638d89 cleanup SLEEPs 2005-12-15 19:13:05 +00:00
Pierangelo Masarati
41ae4ec095 works with "restrict all": in principle, this slapd should be started without any listener, if possible... 2005-12-15 18:07:15 +00:00
Pierangelo Masarati
5395a94432 everything works without any need for changes in syncrepl code; only modifications when the remote consumer is down fail, but I'll track that later (back to work...) 2005-12-15 17:34:43 +00:00
Pierangelo Masarati
d270cd7eee (almost) ok; issues:
1) no full delete of an attribute;
	2) errors occurring when the remote consumer is off
	   are not recovered:
	3) I'm not too happy with running the internal search
	   with the syncrepl attrlist
2005-12-15 16:32:26 +00:00
Pierangelo Masarati
96cd831f8a getting closer... now there are issues with non-requested operational attrs 2005-12-15 13:46:54 +00:00
Pierangelo Masarati
6e0bceaeb2 test sync replication by ay of a proxy 2005-12-15 11:35:46 +00:00
Pierangelo Masarati
d5b9945700 fix timings and retry between syncrepl and server startup 2005-12-15 10:14:39 +00:00
Pierangelo Masarati
85f42f5324 fix previous commit 2005-12-12 10:31:46 +00:00
Pierangelo Masarati
e113e18bb6 more about sizelimit disclose issue in back-meta (ITS#4213) 2005-12-11 23:39:09 +00:00
Pierangelo Masarati
56258f75db more on ITS#4253 2005-12-10 10:23:01 +00:00
Pierangelo Masarati
df479246f6 improve previous commit 2005-12-09 12:22:10 +00:00
Pierangelo Masarati
33cccee62a test attrval.{exact,regex} (related to ITS#4253) 2005-12-09 12:18:29 +00:00
Pierangelo Masarati
7841f4f538 complete merging of dyngroup into dynlist; add back-config support 2005-11-29 02:10:47 +00:00
Pierangelo Masarati
26d802ee53 add dyngroup compare functionality to dynlist 2005-11-28 11:34:46 +00:00
Pierangelo Masarati
02fbe44e79 add regression for ITS#4212 2005-11-25 02:07:31 +00:00
Pierangelo Masarati
9a47e3c81a use lutil_ato*() whenever appropriate 2005-11-24 01:44:29 +00:00
Pierangelo Masarati
20fd7bf0bb I cooked the shell var, but I forgot to test it... (ITS#4208) 2005-11-23 23:34:06 +00:00
Pierangelo Masarati
3aeade3bd2 fix return attributes (ITS#4203) 2005-11-23 10:47:27 +00:00
Pierangelo Masarati
990b435ce0 fix return attributes (ITS#4203) 2005-11-23 10:04:33 +00:00
Pierangelo Masarati
e72b4ecf52 save logs of first part of test 2005-11-22 20:37:58 +00:00
Pierangelo Masarati
b9bb1cd66a add dynlist testing... 2005-11-22 18:50:39 +00:00
Pierangelo Masarati
218004aa4b don't return matchedDN in the case described in ITS#4195 2005-11-22 11:19:21 +00:00
Howard Chu
70c70a4e81 Overlay creates log suffix entry automatically 2005-11-21 05:45:25 +00:00
Pierangelo Masarati
22b6248c8d fix library checks; implement client side of "touch" modify (ITS#4183) 2005-11-20 14:25:52 +00:00
Pierangelo Masarati
ad93816107 fix size limit count (ITS#4181) 2005-11-17 19:00:58 +00:00
Pierangelo Masarati
917b77fff1 fix matched handling of slapd-ldap/slapo-chain (ITS#4176) 2005-11-16 14:17:19 +00:00
Pierangelo Masarati
56ee85695d reset debugging in tools 2005-11-09 13:04:22 +00:00
Pierangelo Masarati
f0dac82597 allow per-target retry in searches (ITS#4150) 2005-11-05 14:45:38 +00:00
Pierangelo Masarati
e2a172067f allow a friendly behavior when stress testing proxies 2005-11-04 16:30:43 +00:00
Kurt Zeilenga
a4ef4b0e06 Add test case for ITS#4100
Could not duplicate problem using correct form:
	delete: userCertificate;binary
Improper form
	delete: userCertificate
produces error as expected.
2005-11-03 22:49:03 +00:00
Pierangelo Masarati
31b5ff3661 fix message 2005-11-03 14:20:08 +00:00
Kurt Zeilenga
9bebea7e1b cleanup 2005-11-01 19:59:23 +00:00
Pierangelo Masarati
e60d7c7f24 fix incorrect bind error (ITS#4129) 2005-11-01 09:47:30 +00:00
Howard Chu
1770f23b85 Add delta syncrepl test 2005-10-15 06:16:01 +00:00
Howard Chu
b2b293eeda Revert prev commit, let the test run. It usually passes, will need to
track down the infinite loop problem at some point. Probably not backend
dependent.
2005-10-14 04:35:49 +00:00
Howard Chu
0dfc478cdf This test uses syncrepl persist, but ldbm doesn't support that. Exclude it. 2005-10-14 00:10:36 +00:00
Pierangelo Masarati
a9baa69375 ldapmodify doesn't return an LDAP error code 2005-10-05 01:22:26 +00:00
Pierangelo Masarati
b30fc9f571 allow writable dirs to be user-relocated 2005-10-01 18:01:27 +00:00
Howard Chu
572ca2db94 Tweak slapd startup delays 2005-09-30 07:32:49 +00:00
Hallvard Furuseth
33d18bc93d Use $CONFFILTER. Parametrize testrun directory. 2005-09-29 23:30:54 +00:00
Hallvard Furuseth
bc729ea9ba Minor cleanup to match the other tests:
Always mkdir $TESTDIR when making subdirs, and always use mkdir -p anyway.
Add or modify "test skipped" messages.
'exit 0' instead of 'exit'.
2005-09-29 22:26:43 +00:00
Hallvard Furuseth
0d360951d0 Exit with nonzero instead of $RC when $RC is 0 and should not be 2005-09-29 22:12:29 +00:00
Kurt Zeilenga
9449c5709e ITS#4021: add new {CLEARTEXT} kludge as bv_len=0 kludge no
longer works well.
2005-09-29 20:30:09 +00:00
Kurt Zeilenga
68ae7408dc ITS#4049: oldPassword cannot be ignored, error for now
Add tests to confirm proper behavior
2005-09-29 08:00:33 +00:00
Pierangelo Masarati
96e2da71a0 parametrize all directories 2005-09-28 23:38:15 +00:00
Howard Chu
094f8f645d ITS#4045 fix ldapsearch checks 2005-09-28 16:56:24 +00:00
Hallvard Furuseth
a88f0c5461 Fix typos in error messages 2005-09-27 20:10:12 +00:00
Hallvard Furuseth
737562a20b Add missing 'kill -HUP $KILLPIDS' statement before an exit. 2005-09-26 15:28:11 +00:00
Hallvard Furuseth
1732b14755 Add missing 'kill -HUP $KILLPIDS' statements before exit.
Obey ./run -k ($KILLSERVERS = no).
2005-09-26 14:56:12 +00:00
Hallvard Furuseth
460687589a Delete pointless wait for (foreground) slapadd 2005-09-26 14:52:02 +00:00
Hallvard Furuseth
d10c999098 Fix typo "failed $(RC)" -> "failed ($RC)" 2005-09-26 14:50:15 +00:00
Hallvard Furuseth
a727de0367 Update passwd-search to use current defines.sh variables.
Obey $WAIT (run -w) and $KILLSERVERS (run -k).
Bugfix: Set $RC before using it.
Handle invocation both with and without ./run; unsure what was intended.
2005-09-26 07:45:19 +00:00
Hallvard Furuseth
ef7f08f914 Fix checks of exit values from ldapcompare 2005-09-26 05:15:06 +00:00
Hallvard Furuseth
262c8cd5b5 Remove variable AC_glue, set from the deleted configure variable BUILD_GLUE. 2005-09-26 05:04:07 +00:00
Kurt Zeilenga
cff4c03e9e some TESTDIR fixes 2005-09-21 02:40:09 +00:00
Hallvard Furuseth
ad2ec8effa More POSIX 1003.1-2001 support: Replace test -a with &&. Replace egrep
with $EGREP_CMD from configure.  (Renamed from configure's $EGREP just
in case egrep variants exist that use the EGREP environment variable.)
2005-09-17 22:44:03 +00:00
Hallvard Furuseth
023d510766 Support POSIX 1003.1-2001 without XSI extensions (ITS #2667):
Do not use test -a/-o.  Use shell features like &&, || or case...esac.
Use grep instead of egrep (but not the not-yet-portable Posix variant grep -E).
Based on a patch from Paul Eggert.
2005-09-17 22:22:15 +00:00
Howard Chu
2918d4498f Fix syntax of modrdn/ bad newsuperior test 2005-09-10 01:52:27 +00:00
Howard Chu
a6af143798 GLUE is not an overlay 2005-09-01 12:13:15 +00:00
Howard Chu
3033741b60 Glue is back in core, not an overlay 2005-09-01 11:49:40 +00:00
Pierangelo Masarati
c6ab2bd20d never exit 0 2005-08-30 11:58:17 +00:00
Pierangelo Masarati
f567219108 missing ;; 2005-08-30 11:34:25 +00:00
Howard Chu
11cb50bd95 Use LDIFFILTER to avoid Windows EOL issues on $CMP 2005-08-28 03:59:21 +00:00
Howard Chu
d7122627fa Leave pwdPolicySubEntry user-modifiable for now 2005-08-26 00:19:08 +00:00
Pierangelo Masarati
ea1d68e203 don't use -u: it's not portable (ITS#3969) 2005-08-25 20:05:51 +00:00
Howard Chu
27467a79e7 ITS#3968 Add tests for valsort overlay, with fixes. 2005-08-24 08:55:12 +00:00
Howard Chu
f15a0f1dea Need manageDIT to set pwdPolicySubentry now 2005-08-24 03:03:20 +00:00
Pierangelo Masarati
40c0d3bfa3 harmonize back-ldbm and back-bdb handling of searchBase disclose access; fixes ITS#3964, ITS#3963 still open 2005-08-23 17:38:50 +00:00
Pierangelo Masarati
3cb9d64de3 more tests 2005-08-22 18:10:23 +00:00
Pierangelo Masarati
9e9137cb74 add ACI test 2005-08-22 17:58:36 +00:00
Hallvard Furuseth
dfe5336e21 Fix typo "==" -> "=" in test 2005-08-22 08:10:03 +00:00
Hallvard Furuseth
657da89181 Support --disable-monitor: slapadd -b "" instead of -n 3. 2005-08-21 01:01:24 +00:00
Hallvard Furuseth
aefb0f3f05 Support --disable-monitor 2005-08-21 00:59:34 +00:00
Hallvard Furuseth
9fb32a65b3 Support --disable-monitor: Do not leave $MONMOD empty 2005-08-21 00:58:00 +00:00
Pierangelo Masarati
27267f0f78 add subtree rename test 2005-08-18 10:28:36 +00:00
Pierangelo Masarati
21fa587db3 improve manage test 2005-08-17 22:04:32 +00:00
Pierangelo Masarati
d8fbe2d32c regression for ITS#3506 2005-08-13 16:28:52 +00:00
Pierangelo Masarati
4e29de5ba6 fix previous commit 2005-08-07 21:03:38 +00:00
Pierangelo Masarati
76e5f02c0e add (optional) concurrency test for back-sql 2005-08-07 20:59:56 +00:00
Pierangelo Masarati
409bb53f82 improve previous commit 2005-08-07 11:48:45 +00:00
Pierangelo Masarati
a2b8670b92 improve previous commit 2005-08-07 11:44:57 +00:00
Pierangelo Masarati
e355c9ef86 detect if control is available (ITS#3898) 2005-08-07 09:59:25 +00:00
Pierangelo Masarati
cc6b90b452 disallow this test for backends that do not honor ACLs 2005-08-07 00:27:48 +00:00
Pierangelo Masarati
614fd279c7 fix ITS#3811 2005-08-06 22:03:45 +00:00
Pierangelo Masarati
6f3363f0d9 Under some circumstances, port 9010 is already in use and may cause problems to referrals whose server is supposed to be unavailable 2005-07-20 11:17:06 +00:00
Pierangelo Masarati
a1d407c3d2 add new glued ldap concurrency test 2005-07-03 23:29:10 +00:00
Pierangelo Masarati
2480ae2908 test sleeptime 2005-07-03 23:07:49 +00:00
Pierangelo Masarati
9b60480293 add support for retcode overlay (configure needs be regenerated) 2005-06-19 22:43:00 +00:00
Pierangelo Masarati
f86daac8c8 import retcode overlay 2005-06-19 22:39:44 +00:00
Howard Chu
c4b97a2821 ITS#3783 fix bogus DN from patch to ITS#3777 2005-06-16 08:55:16 +00:00
Howard Chu
b4dbc0ece8 ITS#3777 test password quality with hashed passwords 2005-06-15 03:10:07 +00:00
Pierangelo Masarati
91bdea2817 use "pgsql" instead of "postgres" for consistency with the directory names in servers/slapd/back-sql/rdbms_depend 2005-06-09 11:03:06 +00:00
Pierangelo Masarati
16e42fc78c test sync replication with back-sql 2005-06-01 19:33:18 +00:00
Kurt Zeilenga
42062dc417 slapadd should not be logging to /tmp 2005-05-27 20:47:47 +00:00
Pierangelo Masarati
eee9efbd1e rework according to table-driven, back-config enabled back-ldap and related overlays 2005-05-23 07:26:19 +00:00
Kurt Zeilenga
812efa5723 Allow no-user-modification attributes to be managed.
Need to fix the slap_mods_opattrs() clobber.
2005-05-14 06:40:50 +00:00
Kurt Zeilenga
04e4c6207b Split manage test between working and non-working-yet cases 2005-05-14 01:26:06 +00:00
Kurt Zeilenga
2544a320b9 extend manageDIT test cases (now just need to find time
to implement this)
2005-05-13 06:43:06 +00:00
Kurt Zeilenga
8ac304ee4c Add client-side ManageDIT control support
(to be used to 'manage' DIT entries).
2005-05-13 03:00:04 +00:00
Kurt Zeilenga
cd49888bff prototype manage script 2005-05-11 20:36:11 +00:00
Sang Seok Lim
c64e8faf8d testscript update for testing CRL routine 2005-05-09 01:08:03 +00:00
Pierangelo Masarati
e3840aa8af re-enable by default 2005-05-06 18:51:24 +00:00
Howard Chu
5d41fae53c Remove "ANSWERABILITY RESULTS" string, it interferes with comparison 2005-05-06 02:22:59 +00:00
Pierangelo Masarati
1b080de8a8 partial fulfilment of ITS#3705 2005-05-04 19:01:16 +00:00
Pierangelo Masarati
09a9e75228 fix previous commit 2005-04-29 16:01:59 +00:00
Pierangelo Masarati
536d4f8e94 temporarily work around ITS#3694 2005-04-29 15:43:15 +00:00
Howard Chu
5972221836 Fix non-portable test comparison 2005-04-29 00:50:36 +00:00
Pierangelo Masarati
2a5d65de02 move back-monitor where it's reachable... 2005-04-27 18:43:32 +00:00
Pierangelo Masarati
6c65ad09b0 reset candidates when intentionally abandoning; consistently handle referrals 2005-04-26 00:06:07 +00:00
Pierangelo Masarati
fa49a73fc4 fix retry; add per-target configurable number of retries; addresses ITS#3672, ITS#3676 & ITS#3680 2005-04-25 18:56:56 +00:00
Pierangelo Masarati
838421f416 improve back-meta tests; I think test036 can be enabled 2005-04-22 21:47:55 +00:00
Howard Chu
6bc2cf3c31 ITS#3573, cannot set pwdChangedTime manually any more 2005-04-22 18:46:17 +00:00
Pierangelo Masarati
211820b853 cleanup 2005-04-21 10:30:54 +00:00
Pierangelo Masarati
637df0ba90 seems to work; in any case, it's yet disabled 2005-04-21 03:24:15 +00:00
Pierangelo Masarati
42b425bc44 add concurrency test for back-meta; cleanup previous commit 2005-04-20 18:57:36 +00:00
Pierangelo Masarati
44635400cf add test035 for back-meta; minor clanup to test030 2005-04-16 02:27:27 +00:00
Howard Chu
09ae896b28 ITS#3657 add test with newSuperior as child of target entry 2005-04-15 04:46:01 +00:00
Pierangelo Masarati
4abbf9c610 implement add/delete granularity in write access (ITS#3631) 2005-04-08 00:18:24 +00:00
Kurt Zeilenga
aa681f980d Update test026 for updated uniqueMemberMatch semantics 2005-03-28 18:07:17 +00:00
Howard Chu
aad140151e More for translucent 2005-03-10 04:35:57 +00:00
Kurt Zeilenga
efce212af9 Don't muck with OpenLDAPperson or openldap.schema.
Replace OpenLDAPtime with testTime (in test.schema).
Define testPerson instead (in test.schema).
Update test004 to use new test schema.
2005-03-04 17:31:59 +00:00
Howard Chu
72a0c8a183 ITS#2919 add OpenLDAPtime test 2005-03-04 11:35:09 +00:00
Kurt Zeilenga
f9b2a8a1d2 ITS#3557: {SSHA} not default due to missing include 2005-02-27 16:46:45 +00:00
Pierangelo Masarati
df1260af5e test remapped attribute in requested attribute list 2005-02-22 20:08:53 +00:00
Sang Seok Lim
565481e94f test filter updates for Attribute Aliasing 2005-02-15 05:25:26 +00:00
Pierangelo Masarati
4f6758bf41 test compare in chain overlay 2005-01-30 21:58:08 +00:00
Pierangelo Masarati
4f9b916b61 now works 2005-01-29 22:04:34 +00:00
Pierangelo Masarati
ff89b2c14c looks a little better (but test033 doesn't work any more; disabling) 2005-01-29 19:04:06 +00:00
Pierangelo Masarati
25b15e0014 add test for glued partial syncrepl; initial refresh works, subsequent updates don't 2005-01-29 15:22:42 +00:00
Pierangelo Masarati
c6b6d2a5ec StartTLS (ITS#3507) + chain overlay fixes and improvements 2005-01-24 09:38:11 +00:00
Pierangelo Masarati
eecb74caad more ITS#3498-9 cleanup 2005-01-21 00:21:45 +00:00
Pierangelo Masarati
76907a2e44 fix ITS#3499 (may need further testing); added objectClass/attribute (silly) mapping; works with back-relay/ldap/meta (the first two by way of rwm overlay) 2005-01-20 22:49:32 +00:00
Pierangelo Masarati
7268c949de fix messages/sleep times 2005-01-20 16:22:31 +00:00
Pierangelo Masarati
d515b91706 compare on operational attribute 2005-01-20 00:20:46 +00:00
Pierangelo Masarati
69adde2328 cosmetic changes 2005-01-19 23:49:24 +00:00
Pierangelo Masarati
adb6222afb kill provider as well; cleanup replication tests 2005-01-19 23:45:51 +00:00
Pierangelo Masarati
6c73ac8f0d check replication killing both the slave and slurpd in between 2005-01-19 22:58:03 +00:00
Pierangelo Masarati
0d3d7e71b6 fix messages 2005-01-19 22:00:25 +00:00
Pierangelo Masarati
aff5133b89 persist looks like a better place to have updates as quickly as possible... 2005-01-19 20:40:30 +00:00
Pierangelo Masarati
d3ed899a81 allow the test to succeed even if SLAP_ACL_HONOR_DISCLOSE is not #define'd 2005-01-19 15:00:26 +00:00
Pierangelo Masarati
cd6a5abf22 if enabled, test the chain overlay with global scope to propagate writes from shadow to master 2005-01-19 14:45:35 +00:00
Pierangelo Masarati
4ccac992ba test for referral return when updating shadow contexts 2005-01-19 14:05:35 +00:00
Pierangelo Masarati
d252d9c535 map referrals in regular metadata structure (need to remove some of the specific code) 2005-01-18 23:21:48 +00:00
Pierangelo Masarati
73bf450600 strengthen the tests 2005-01-18 01:02:34 +00:00
Pierangelo Masarati
9c77946253 use a referral that (almost) surely fails 2005-01-15 18:42:35 +00:00
Pierangelo Masarati
9d89bef03d fixed manageDSAit on delete 2005-01-15 18:38:45 +00:00
Ralf Haferkamp
1d67ef16e9 make glue and syncrepl tests work if the overlays were compiled as dynamic
modules
2005-01-13 13:50:48 +00:00
Pierangelo Masarati
7348603a53 fix ITS#3484 2005-01-12 23:22:56 +00:00
Pierangelo Masarati
ba6e6b4640 add write operations to chain overlay test032 2005-01-12 21:03:52 +00:00
Pierangelo Masarati
cbb883e5e5 honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel) 2005-01-11 20:15:13 +00:00
Pierangelo Masarati
6b894130b8 ready for chaining writes 2005-01-11 00:36:06 +00:00
Pierangelo Masarati
7d2543369d don't create unnecessary dir 2005-01-11 00:34:14 +00:00
Pierangelo Masarati
730e542b26 add test for chain overlay (needs improvements: bind, writes and more) 2005-01-09 21:23:34 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
2c66d5f856 set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals; little more cleanup 2005-01-01 16:12:29 +00:00
Pierangelo Masarati
9f26171f79 allow to select what relays to use 2004-12-30 18:05:20 +00:00
Pierangelo Masarati
ba6ac023ad works now 2004-12-30 17:45:07 +00:00
Pierangelo Masarati
48187a6ba0 merged in test030 2004-12-30 15:15:49 +00:00
Pierangelo Masarati
407e58343b add back-meta to relay testing; disabled by now, needs work to line up with the rwm overlay 2004-12-30 15:10:31 +00:00
Pierangelo Masarati
565ae9ab7a cleanup 2004-12-30 14:09:47 +00:00
Pierangelo Masarati
d29bfaead3 test030 and test032 actually do the same things 2004-12-30 14:07:23 +00:00
Pierangelo Masarati
091434048f line up test030 and test032; first step toward their merge 2004-12-30 13:49:52 +00:00
Kurt Zeilenga
07c424a7c3 Additional command line argument ordering fixes 2004-12-30 12:48:14 +00:00
Pierangelo Masarati
20e7b45555 fix args order to client tools; use -M instead of -e manageDSAit 2004-12-30 09:33:55 +00:00
Pierangelo Masarati
c68bdb0c14 fix test after ldapmodify 2004-12-30 00:23:49 +00:00
Pierangelo Masarati
97ce6c3044 fix test after ldapmodify 2004-12-30 00:18:30 +00:00
Kurt Zeilenga
17e9073104 Fail is proxy cannot be started 2004-12-29 21:20:18 +00:00
Sang Seok Lim
28a967584d Component Indexing support for BDB
- only for equality matching
- only components of ASN.1 types used in an X.509 certificate can be indexed
(composite types except for RDN and DN are not supported yet)
- how to use
index [attribute name].[component reference] eq
Ex)
index userCertificate eq
index userCertificate.toBeSigned.issuer.rdnSequence eq
index userCertificate.toBeSigned.serialNumber eq
index userCertificate.toBeSigned.version eq
2004-12-20 03:31:44 +00:00
Howard Chu
69ca6c9b59 Additional check for ITS#3425 2004-12-19 07:40:59 +00:00
Sang Seok Lim
3492452a5b 1) <select> and <content> type component reference support
2) attribute aliasing support
- x509CertificateIssuer
- x509CertificateSerial
- x509CertificateIssuerAndIssuer
3) AuthorityKeyIdentifier support(one of certificate extension)
4) Misc. improvement
- integrate OID and its decoder mapping table
- normalize and validate the values of both component asserions and
  extracted components
5) Misc. bug fix
2004-12-13 16:26:58 +00:00
Howard Chu
65a527eb9e Detect regression of ITS#3425:
Stop consumer, then restart after more mods are done to master.
2004-12-12 07:09:04 +00:00
Howard Chu
0c8851ff9b Use glue overlay 2004-12-05 00:21:27 +00:00
Howard Chu
82e6b94b7d Delete backglue in favor of glue overlay 2004-12-04 19:43:22 +00:00
Sang Seok Lim
98485f5247 1) existing matching rules support in component filter
2) remove double buffering for decoded component values
3) caching decoded component assertion values
2004-12-01 22:11:55 +00:00
Sang Seok Lim
decfd7217f 1) <all> type component reference support
2) nibble type memory support when decoding
3) description type object identifier support
4) OPTIONAL, DEFAULT support in certificate decoder/extractor/matching
5) Misc bug fix
2004-11-29 20:21:38 +00:00
Howard Chu
3a5bde98ba Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Sang Seok Lim
a90e63fde0 ComponentFilterMatch support for userCertificate 2004-11-14 20:11:38 +00:00
Pierangelo Masarati
3412c26535 line up tests with back-ldap and rwm 2004-11-13 15:04:01 +00:00
Pierangelo Masarati
6b6e41092d add test for proxy massaging, in view of using rwm for back-ldap massaging 2004-11-13 12:23:01 +00:00
Sang Seok Lim
71e78dd7f9 Component Matching module
See "contrib/slapd-modules/comp_match/README" to understand
what's the purpose of  this patch is and how to use it.
2004-10-27 19:37:02 +00:00
Pierangelo Masarati
e10186f1a5 add support for entryUUID and entryCSN operational attributes (entryUUID is honored in filters as well) 2004-10-04 01:19:53 +00:00
Kurt Zeilenga
7ccd03da88 Add reveresed oc delete test (just in case that ever becomes a problem) 2004-09-28 16:23:01 +00:00
Kurt Zeilenga
71ba3b8ebf Add test case for ITS#3346 2004-09-27 23:10:22 +00:00
Pierangelo Masarati
71e1868e9e fix typo 2004-09-26 22:53:26 +00:00
Pierangelo Masarati
cfae4e5a5c cleanup 2004-09-11 16:17:10 +00:00
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