Commit Graph

470 Commits

Author SHA1 Message Date
Pierangelo Masarati
218004aa4b don't return matchedDN in the case described in ITS#4195 2005-11-22 11:19:21 +00:00
Pierangelo Masarati
7fa4b159bf fix dangling resources issue in slapd-ldap; completely rework slapo-chain to fix the resource leak/concurrency issue; add support for multiple well-known URIs to set credentials for, and deal with unknown URIs anonymously; similar reworking and cleanup for slapd-meta 2005-11-19 15:00:50 +00:00
Pierangelo Masarati
1bf816e425 don't use deprecated directives 2005-11-14 19:41:08 +00:00
Pierangelo Masarati
9a3b418916 silence warnings 2005-11-09 12:59:15 +00:00
Pierangelo Masarati
c6904b5feb cleanup 2005-11-08 00:04:23 +00:00
Pierangelo Masarati
a6453f28f8 silence warnings 2005-11-06 23:27:09 +00:00
Pierangelo Masarati
fd1b1a53f2 add matchedDN; fix and clarify behavior when searching in-directory entries 2005-11-06 23:26:42 +00:00
Pierangelo Masarati
f0dac82597 allow per-target retry in searches (ITS#4150) 2005-11-05 14:45:38 +00:00
Howard Chu
25f7ec0e30 Fix ITS#4098 2005-10-17 17:41:04 +00:00
Howard Chu
1770f23b85 Add delta syncrepl test 2005-10-15 06:16:01 +00:00
Pierangelo Masarati
96e2da71a0 parametrize all directories 2005-09-28 23:38:15 +00:00
Howard Chu
bec98df993 ITS#3979 restore 2.1,2.2 search order 2005-09-09 12:17:33 +00:00
Howard Chu
4f6d762f5f ITS#3979 restore 2.1,2.2 search order 2005-09-09 11:43:44 +00:00
Howard Chu
6aca95bd01 Fix people / groups order to match testdata 2005-09-01 12:38:41 +00:00
Howard Chu
0ec5e73f64 Revert to 2.2 glue/subordinate config syntax 2005-09-01 11:48:28 +00:00
Howard Chu
27467a79e7 ITS#3968 Add tests for valsort overlay, with fixes. 2005-08-24 08:55:12 +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
Pierangelo Masarati
bf37d12686 9010 is not registered but used on Solaris... 2005-08-22 12:37:39 +00:00
Pierangelo Masarati
dd87b75985 use our default referral; slapd complains about returning 0x0a without a ref 2005-08-19 17:04:12 +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
31aa877131 allow the glue overlay to be a module 2005-08-10 16:26:32 +00:00
Pierangelo Masarati
d602831acd load modules if required 2005-08-10 11:49:09 +00:00
Pierangelo Masarati
2a789a831f data for back-sql concurrency tests 2005-08-07 20:52:58 +00:00
Pierangelo Masarati
f5beb2e0d3 add indices for all backends that support them; clenup 2005-08-07 10:01:53 +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
01f81af860 fix translucent overlay test when back-monitor is compiled as module (privately reported by Buchan Milne) 2005-07-25 19:39:08 +00:00
Pierangelo Masarati
92ddbcbc0d keep trying... 2005-07-21 08:53:42 +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
f86daac8c8 import retcode overlay 2005-06-19 22:39:44 +00:00
Howard Chu
5e1cafdade ITS#3777 test password quality with hashed pws 2005-06-15 03:07:31 +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
Pierangelo Masarati
9e29048fd1 allow most tests to run for other backend types (with limitations) 2005-05-30 15:16:38 +00:00
Pierangelo Masarati
eaf860ad40 allow to test other backend types 2005-05-30 14:02:16 +00:00
Pierangelo Masarati
1641c442f0 more on ITS#3745 2005-05-26 11:41:34 +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
Sang Seok Lim
2aefbcfd2e LDIF update for CRL test 2005-05-09 03:23:00 +00:00
Sang Seok Lim
c64e8faf8d testscript update for testing CRL routine 2005-05-09 01:08:03 +00:00
Howard Chu
5d41fae53c Remove "ANSWERABILITY RESULTS" string, it interferes with comparison 2005-05-06 02:22:59 +00:00
Pierangelo Masarati
9c6aa3b8e8 line up with config code 2005-05-05 16:22:50 +00:00
Pierangelo Masarati
b76e95e72c partial fulfilment of ITS#3705 2005-05-04 18:43:10 +00:00
Pierangelo Masarati
2a5d65de02 move back-monitor where it's reachable... 2005-04-27 18:43:32 +00:00
Pierangelo Masarati
73d406aebf update expected output for test035 as well 2005-04-26 10:36:37 +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
a66d126c16 ITS#3573, ITS#3655 use new schema, shorter expirations for test 2005-04-22 18:47:05 +00:00
Pierangelo Masarati
42b425bc44 add concurrency test for back-meta; cleanup previous commit 2005-04-20 18:57:36 +00:00
Pierangelo Masarati
f6ad447a8c missing file (ITS#3668) 2005-04-18 11:46:48 +00:00
Pierangelo Masarati
44635400cf add test035 for back-meta; minor clanup to test030 2005-04-16 02:27:27 +00:00
Pierangelo Masarati
4abbf9c610 implement add/delete granularity in write access (ITS#3631) 2005-04-08 00:18:24 +00:00
Pierangelo Masarati
a9fea2edeb configure monitor database, if available 2005-03-29 09:50:50 +00:00
Kurt Zeilenga
aa681f980d Update test026 for updated uniqueMemberMatch semantics 2005-03-28 18:07:17 +00:00
Howard Chu
667ae398cb Fix for back-ldap module 2005-03-16 21:52:25 +00:00
Howard Chu
aad140151e More for translucent 2005-03-10 04:35:57 +00:00
Kurt Zeilenga
b914aee946 Replace OpenLDAPtime with testTime (in test.schema).
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:33:26 +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
Howard Chu
77f0233e01 Revert prev commit 2005-03-04 11:28:48 +00:00
Howard Chu
7703d62ad0 ITS#2919 add OpenLDAPorg and OpenLDAPtime to root entry 2005-03-04 10:46:17 +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
Pierangelo Masarati
f1791bc653 cleanup glue-syncrepl 2005-01-30 21:59:04 +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
aff5133b89 persist looks like a better place to have updates as quickly as possible... 2005-01-19 20:40:30 +00:00
Kurt Zeilenga
dbfc9d1a16 Schema cleanup (and testing) 2005-01-19 20:29:06 +00:00
Pierangelo Masarati
5f178fd3d1 use idassert for proxyAuthz with the chain overlay 2005-01-19 19:11:35 +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
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
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
Howard Chu
0d964a487b Delete syncrepl updatedn, single sessionlog 2005-01-13 19:48:39 +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
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
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
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
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
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
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