Commit Graph

360 Commits

Author SHA1 Message Date
Pierangelo Masarati
60c99a889c cleanup 2004-11-13 17:51:18 +00:00
Pierangelo Masarati
0602be7c8e cleanup 2004-11-13 16:16:01 +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
Jong Hyuk Choi
ff8713131b include test.schema again 2004-10-28 03:28:21 +00:00
Jong Hyuk Choi
bc23f5d1dc include test.schema 2004-10-27 22:31:49 +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
Kurt Zeilenga
f0b72f5ca8 Telephone cleanup 2004-10-05 01:00:48 +00:00
Pierangelo Masarati
bb0dc4b8eb cleanup comment; add test.schema (slapindex was failing for comptest) 2004-10-04 22:02:31 +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
db62156db6 Fix a few LDIF bugs 2004-09-30 18:23:25 +00:00
Kurt Zeilenga
53a32384a3 Remove unused file 2004-09-30 18:05:01 +00:00
Kurt Zeilenga
cd65f9bb63 Fix objectclasses 2004-09-30 17:53:55 +00:00
Pierangelo Masarati
635e22ff17 trim data according to recent fix 2004-09-22 23:22:39 +00:00
Pierangelo Masarati
910e9e2eff add entryDN to test results... 2004-09-11 16:42:03 +00:00
Kurt Zeilenga
89772e9bdd Replace compfilter.schema with test.schema, which now
holds a single attribute type 'componentTest'.  Fix
up test031 to avoid modification of standard schema.
(Not sure why this attribute is needed, tests likely
should operate on userCertificate and other existing
attributes which complex syntaxes.)
2004-08-28 19:41:13 +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
d9534e5e0d "order by" plus -S "" seems to work... 2004-08-25 12:14:07 +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
e4f9fcf63b read-tests work also for ibmdb2 2004-08-24 15:14:42 +00:00
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
Howard Chu
2ce5398ec4 ITS#2401 support tests for dynamically loaded backends 2003-04-30 03:04:18 +00:00
Kurt Zeilenga
315f7bcef9 Don't include kerberos schema in tests... its broken. 2003-02-26 22:40:24 +00:00
Kurt Zeilenga
c98ef452aa Add test for " jensen " indexing bug 2003-02-25 19:02:21 +00:00
Kurt Zeilenga
3b147e9219 Misc tweaks 2003-02-24 17:15:31 +00:00
Howard Chu
fed4c24bea Added data for modrdn concurrency test 2003-02-22 12:14:03 +00:00
Kurt Zeilenga
1a8a5dc544 Fix schema errors in tests 2003-02-17 21:36:17 +00:00
Pierangelo Masarati
8547e09c6e added attr strip test 2003-02-05 12:40:08 +00:00
Kurt Zeilenga
079463ed1f Use vendorName instead of description 2002-11-11 01:08:11 +00:00
Kurt Zeilenga
6a44b81093 Root DSE test 2002-11-11 00:34:38 +00:00
Kurt Zeilenga
d1e1bad8f6 Add implicit DN check 2002-10-21 21:24:21 +00:00
Kurt Zeilenga
d69c41fc0f Add a referrals/manageDsaIT test (depends on order of reference return) 2002-10-21 19:11:27 +00:00
Kurt Zeilenga
5684ee0df7 s/umich.edu/example.com/ 2002-10-04 20:58:20 +00:00
Kurt Zeilenga
77911fc829 Alter a few DNs to ensure normalization works in groups 2002-09-30 18:43:18 +00:00
Howard Chu
615af63d04 Added group ACL tests 2002-09-13 15:04:04 +00:00
Kurt Zeilenga
4d2b4e47ca Add in extra white space 2002-08-31 22:24:05 +00:00
Kurt Zeilenga
d912c2c711 Rework client control parsing... need to implement
common controls across all tools.
2002-08-29 21:36:36 +00:00
Pierangelo Masarati
0549f16e6c test extended filter and values return filter 2002-08-29 19:31:02 +00:00
Kurt Zeilenga
b63ca6bc51 back out last commit 2002-08-29 02:32:58 +00:00
Kurt Zeilenga
923d033c99 Finish adding subclassing indexing support 2002-08-29 02:27:15 +00:00
Kurt Zeilenga
4fa2b12342 Trim subordinate classes from input (and expected output). 2002-08-27 21:41:37 +00:00
Kurt Zeilenga
1c0c6cee80 backout last change... too tired to make this work right now. 2002-08-12 22:33:43 +00:00
Kurt Zeilenga
c9565e7530 Rewrite master/slave ports 2002-08-12 21:49:27 +00:00
Kurt Zeilenga
7bc35541e4 Add simple CN v cn test case for ITS#1997 2002-08-07 19:12:59 +00:00
Kurt Zeilenga
ef3d895cb8 More ACL to dn="" bug fixing... and add test006-acl check 2002-07-11 01:45:22 +00:00
Kurt Zeilenga
1990cad7c3 Add monitor test.
Need to hide cn=Monitor from namingContext
2002-06-19 06:00:48 +00:00
Kurt Zeilenga
42ea8ef9cd Cannot set rootpw when rootdn is not under suffix 2002-06-08 18:49:14 +00:00
Kurt Zeilenga
07465f3e5a Some cleanup 2002-03-24 01:55:11 +00:00