Commit Graph

731 Commits

Author SHA1 Message Date
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
ea4c51b78f cosmetic changes 2005-01-18 09:48:13 +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
Howard Chu
06338974d8 Revert prev, cascaded sessionlog now works 2005-01-14 05:12:21 +00:00
Howard Chu
23f2d44d61 skip sessionlog for now, it's broken 2005-01-14 04:26:18 +00:00
Kurt Zeilenga
3add83428f Remove $RUN on make veryclean 2005-01-14 00:11:21 +00:00
Howard Chu
0d964a487b Delete syncrepl updatedn, single sessionlog 2005-01-13 19:48:39 +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
Howard Chu
5c54351f37 ITS#3470 propagate operational attributes too 2005-01-11 00:07:29 +00:00
Pierangelo Masarati
3d3dd5f823 try different options 2005-01-09 21:34:06 +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
Kurt Zeilenga
3ea0f0cd0b Move test.schema to tests/data 2004-12-31 04:32:49 +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
Pierangelo Masarati
42224b616c work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise 2004-12-11 17:48:49 +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
f3562cbcf0 Use syncprov overlay 2004-11-25 22:58:19 +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
Jong Hyuk Choi
0e41932ae7 removed test.schema from the test slapd.conf 2004-11-24 18:01:20 +00:00
Sang Seok Lim
a90e63fde0 ComponentFilterMatch support for userCertificate 2004-11-14 20:11:38 +00:00
Pierangelo Masarati
02b448b7bf more cleanup 2004-11-13 18:23:54 +00:00
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
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
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
Pierangelo Masarati
cfae4e5a5c cleanup 2004-09-11 16:17:10 +00:00
Pierangelo Masarati
06b023c766 need a lot of space for stress tests; need to bind for searches to avoid size limits and so; log failure reason 2004-09-04 18:31:43 +00:00
Kurt Zeilenga
bbc1e35fd8 Clarify error messages 2004-08-30 02:57:22 +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
Kurt Zeilenga
a17c9ec502 Fix init error 2004-08-27 17:54:18 +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
d9534e5e0d "order by" plus -S "" seems to work... 2004-08-25 12:14:07 +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
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
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
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
f1b5d4b299 cleanup 2004-08-06 16:51:35 +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
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
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
ff35e820dd more improvements 2004-06-21 18:43:29 +00:00
Pierangelo Masarati
77eacb0dfe allow back-ldap as module... (ITS#3194) 2004-06-21 11:38:56 +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
458d1e3b50 actually, we're not proxying SASL bind at all 2004-06-21 07:41:06 +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
6a41ca53ad ucdata is now hardcoded 2004-05-31 05:45:11 +00:00
Howard Chu
180880eee2 Remove ucdata-path directive, ucdata is now hardcoded 2004-05-31 05:34:37 +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
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
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
Kurt Zeilenga
917fd9bfc0 Refine userPassword acl 2004-04-28 01:58:46 +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