Commit Graph

287 Commits

Author SHA1 Message Date
Pierangelo Masarati
b68129fc39 rework SQL tests invocation; improve all tests 2004-08-24 09:26:39 +00:00
Pierangelo Masarati
23cbd59126 - proxy cache erroneously returns the filtering attributes
and the objectClass right after caching, even if not requested,
  while subsequent searches are fine;
- the response callback needs be apended at the end of the
  callback list, otherwise the resulting entries are cached
  before other overlays can alter them
- the callback structure and its contents needs be freed
2004-08-24 09:24:55 +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
a696045179 added back-sql test under conditions; needs a README... 2004-08-20 12:44:32 +00:00
Pierangelo Masarati
e6fa9dd76a allow back-relay as module (ITS#3274) 2004-08-12 10:20:19 +00:00
Pierangelo Masarati
fa880d42e4 monitor database added to all tests, to detect further incompatibilities 2004-07-26 20:26:52 +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
3c50386b88 ad test for back-relay and rwm overlay 2004-07-12 00:19:15 +00:00
Pierangelo Masarati
62a3f8a391 unnecessary DN in URI 2004-07-10 11:08:43 +00:00
Pierangelo Masarati
8e5d04d2a8 allow unescaped equals, according to draft-ietf-ldapbis-dn (ITS#3229) 2004-07-10 10:48:41 +00:00
Howard Chu
ebfbc8d19e Add a query to aggravate delete deadlocks 2004-07-09 18:29:44 +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
e848b4d0fc add uniqueMember tests 2004-06-29 17:25:05 +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
8b961ebdf0 fix indices and limits for backends oher than bdb 2004-06-22 08:25:52 +00:00
Pierangelo Masarati
77eacb0dfe allow back-ldap as module... (ITS#3194) 2004-06-21 11:38:56 +00:00
Pierangelo Masarati
458d1e3b50 actually, we're not proxying SASL bind at all 2004-06-21 07:41:06 +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
47e5f301f9 improve SASL in id assertion test 2004-06-19 15:46:38 +00:00
Pierangelo Masarati
49d64acdf6 add test for idassert 2004-06-19 10:05:07 +00:00
Howard Chu
180880eee2 Remove ucdata-path directive, ucdata is now hardcoded 2004-05-31 05:34:37 +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
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
07898f68d0 cleanup 2004-05-07 23:11:38 +00:00
Pierangelo Masarati
891fef5c5b added DN parsing test 2004-05-07 22:13:39 +00:00
Pierangelo Masarati
f0d15d3aa0 more cleanup 2004-05-07 15:38:42 +00:00
Pierangelo Masarati
e53977cef7 fix test006 2004-05-07 15:28:39 +00:00
Kurt Zeilenga
917fd9bfc0 Refine userPassword acl 2004-04-28 01:58:46 +00:00
Pierangelo Masarati
63b1e663e2 cleanup; improvements to whoami test014 2004-04-25 23:58:22 +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
daf4186849 improve ITS#3107 2004-04-21 22:49:04 +00:00
Pierangelo Masarati
c9323fd77e improve ITS#3107 2004-04-21 22:42:34 +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
f7aa0221db more pagedResults tests 2004-04-18 21:04:45 +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
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
Howard Chu
18a062dad6 Make sure lockout flag is printed 2004-03-20 09:26:15 +00:00
Howard Chu
c564301d34 Added tests for password policy overlay 2004-03-16 10:16:21 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Howard Chu
8a9d026097 Fix URI to work with either back-ldap or back-meta 2003-12-13 02:35:27 +00:00
Howard Chu
7fedf13e02 ITS#2494 sort entries ahead of everything else 2003-12-07 11:15:22 +00:00
Howard Chu
5d28da417e Use proxycache overlay 2003-12-06 11:37:45 +00:00
Howard Chu
37964b63e3 ITS#2740, #2859 fixes for dynamic backends 2003-12-04 11:15:07 +00:00
Kurt Zeilenga
6680465d02 notices 2003-11-28 20:00:23 +00:00
Jong Hyuk Choi
7b587da5c1 syncrepl : id -> rid 2003-11-26 22:45:21 +00:00
Jong Hyuk Choi
279760a467 1. Session history support
- memory based session history to minimize sync traffic
	- when client is covered by a session history, then
      [add+delete] mode is used
	- when client cookie is not covered by the history because
      the cookie is too outdated and/or the history is truncated,
	  [add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
	- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Kurt Zeilenga
9492ed16e2 ITS#2815: load modules 2003-11-08 20:43:55 +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
d0c05e814d Add a basic DIT content rule test.
Fix DIT rules to allow extensibleObject in AUX
unifdef -DSLAP_EXTENDED_SCHEMA
2003-10-24 04:40:32 +00:00
Kurt Zeilenga
11534f4cee Add/update server startup scripts 2003-10-24 03:35:20 +00:00
Jong Hyuk Choi
70fef3aab6 removing trailing spaces 2003-10-22 21:58:21 +00:00
Kurt Zeilenga
b7f3743443 Reverse last commit 2003-10-22 21:14:42 +00:00
Jong Hyuk Choi
4f4992fddf fix broken test ldif files 2003-10-22 20:43:08 +00:00
Howard Chu
5d7db2665f Undo test020 overwrite 2003-10-22 10:45:56 +00:00
Howard Chu
ce7ce9313e Fix for selectable backend 2003-10-22 09:39:50 +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
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
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
Kurt Zeilenga
c53a164310 Add second UTF-8 normalization case 2003-10-12 20:14:03 +00:00
Kurt Zeilenga
0946c267eb Add basic UTF-8 normalization test (see ITS#2737) 2003-10-12 19:58:28 +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
Kurt Zeilenga
f582fd1ba8 Add dn.subtree="" clause 2003-09-15 21:50:13 +00:00
Jong Hyuk Choi
7f882daf15 Schema checking option for LDAP Sync replication 2003-09-03 21:42:52 +00:00
Jong Hyuk Choi
5548a2dd0c Sync replication config option format change (interval) 2003-08-28 22:29:12 +00:00
Kurt Zeilenga
2583276ab2 more uniquemember cleanup 2003-08-22 21:42:02 +00:00
Kurt Zeilenga
ea6b1b84a1 More uniqueMember cleanup 2003-08-22 21:19:29 +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
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
e8b6a7d622 previous change was too early. revert to orig for a while. 2003-07-15 00:25:36 +00:00
Jong Hyuk Choi
fdf0a57dfa SyncRepl works both with back-bdb and back-ldbm 2003-07-15 00:22:55 +00:00
Jong Hyuk Choi
26064429ba making proxy cache backend agnostic 2003-07-11 23:03:11 +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
Kurt Zeilenga
c0089a171d s/master/provider/ 2003-06-10 18:32:20 +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
Kurt Zeilenga
0954351565 Change ACL default style to exact (from regex) 2003-05-30 05:24:39 +00:00
Kurt Zeilenga
3961effec9 option ordering now works 2003-05-22 20:10:21 +00:00
Jong Hyuk Choi
89270499f8 slapd-syncrepl-slave-persist.conf : added
slapd-sycnrepl-slave-refresh.conf : renamed from slapd-syncrepl-slave.conf
2003-05-20 19:58:11 +00:00
Jong Hyuk Choi
986bcd52a9 -syncUUID search in syncrepl
-test017-syncreplication
2003-05-09 06:50:44 +00:00