Commit Graph

277 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
ff8b039a4e Clean up schema checking 2002-03-10 17:39:08 +00:00
Kurt Zeilenga
8575e0a050 Add some undefined assertion tests 2002-03-01 18:58:11 +00:00
Kurt Zeilenga
7879b177c4 Add manager to expected output as it a person, not a pilotPerson 2002-02-09 23:08:40 +00:00
Kurt Zeilenga
ecdfc66a13 Add to different parents 2002-01-29 22:41:43 +00:00
Kurt Zeilenga
8057b1a0a8 Language Tag and Range Support <draft-zeilenga-ldap-rfc2596-xx.txt>
Based upon code submitted by Steve Omrani <somrani@us.ibm.com> (ITS#1525)
2002-01-26 23:14:51 +00:00
Kurt Zeilenga
5e3db3d05b Add a fourth add thread 2002-01-18 17:55:05 +00:00
Kurt Zeilenga
929abbc97f Run the lock detector 2002-01-17 05:36:47 +00:00
Kurt Zeilenga
3ad2bd3f56 Add a third entry... 2002-01-17 05:08:26 +00:00
Kurt Zeilenga
dedc813a7e Add section add. 2002-01-17 04:43:39 +00:00
Kurt Zeilenga
70382ac66a Misc cleanup 2002-01-14 03:42:24 +00:00
Howard Chu
e43fe62485 Renamed subdirectories to hide rm warnings 2002-01-13 23:52:17 +00:00
Kurt Zeilenga
82e4bcefe4 Use supertype index 2002-01-13 20:49:10 +00:00
Howard Chu
5ac6b4b76a Added config and data files for testing backend glue 2002-01-11 09:23:31 +00:00
Kurt Zeilenga
0a194f2fa1 Remove references to dead schema 2002-01-10 13:13:32 +00:00
Kurt Zeilenga
d8aef083ac Use conforming filters 2002-01-03 18:31:18 +00:00
Kurt Zeilenga
39bc94082a Fix minor error in error text handling
Fix invalid structural object class chains in test schema
2001-12-19 23:41:31 +00:00
Kurt Zeilenga
d46252fb21 Port reference scope fix from back-ldbm 2001-12-07 22:41:43 +00:00
Howard Chu
0b581db82f Squash some whitespace in a DN. (trivial) 2001-12-07 01:54:53 +00:00
Kurt Zeilenga
2c07200a3a pretty DNs 2001-12-06 07:32:53 +00:00
Howard Chu
0be3cbfb46 Strip whitespace from DN-valued attributes 2001-12-06 07:15:48 +00:00
Howard Chu
f0b56c3444 Stripped whitespace between entry DN components. 2001-12-06 06:40:09 +00:00
Howard Chu
b45fb4f5c5 Revert 1.11, the extra clause breaks test009-referral for back-bdb. 2001-11-27 04:05:06 +00:00
Pierangelo Masarati
a5f5d53f74 same typo in more data files (was it intended ? :) 2001-11-05 08:51:29 +00:00
Pierangelo Masarati
e331b7a49f typo in data (already fixed in test-ordered.ldif) 2001-11-05 08:28:26 +00:00
Pierangelo Masarati
7c846b4cc9 more meaningful subtree replication test 2001-11-03 16:59:06 +00:00
Pierangelo Masarati
f65d9b3085 Subtree replication test 2001-11-02 15:39:43 +00:00
Kurt Zeilenga
82fad7d0c8 First stable an implementing latest namedref specification.
Includes rewriting of URLs where the DN of the referral object
and the DN of the ref attribute attribute are not the same.
Also, always returns explicit DN and scope.
Currently, back-ldbm only.  Needs to be ported to back-bdb.
2001-10-26 02:05:14 +00:00
Kurt Zeilenga
fcd1ce0e28 Use defined Root DSE attributes.
Developed by Julius Enarusai/IBM
Copyright IBM Corp. 2001

Use of this source code is subject to the terms of The OpenLDAP
Public License Version 2.7, 7 September 2001.  No trademarks of the
IBM Corporation are to be used to identify, endorse or promote any
products derived from this code without the prior written consent
of IBM.
2001-10-23 23:29:41 +00:00
Kurt Zeilenga
3225c05cd5 Add BDB index directives 2001-10-03 21:27:37 +00:00
Kurt Zeilenga
2c9a238571 Allow dn.base="" 2001-09-01 05:01:31 +00:00
Kurt Zeilenga
3a1b634ee2 Updates for back-bdb testing 2001-08-01 04:50:47 +00:00
Kurt Zeilenga
4b22216d77 Add extraneous database to slapd.conf
Remove ssf from slapd-schema.conf
2001-07-14 01:28:19 +00:00
Kurt Zeilenga
1229cfcc3f Backout directory config option 2001-06-22 21:00:24 +00:00
Kurt Zeilenga
4c3ab6bf69 Don't set directory in backend LDBM for now 2001-06-07 18:00:16 +00:00
Kurt Zeilenga
85571183cc s/#LDBM#/#ldbm#/ and back out non-portable /i change to conf.sh 2001-06-06 21:55:22 +00:00
Kurt Zeilenga
351e436dcf Add an LDBM backend "directory" directive (in addition to
the existing database "directory" directive) to allow setting
of a DB_ENV directory.  Should likely be database specific.
2001-05-29 01:51:37 +00:00
Kurt Zeilenga
383391b460 detect and use fcntl (for BSD/OS)
detect inet_ntop (for MacOSX)
2001-05-03 05:53:34 +00:00
Kurt Zeilenga
0fc62be316 Rework security restrictions for SASL bind 2001-02-03 03:17:22 +00:00
Kurt Zeilenga
fba163fe24 Add objectClass eq as need 2001-01-17 19:56:01 +00:00
Kurt Zeilenga
b65fe6a66d Remove defaultaccess directive 2000-10-21 03:26:24 +00:00
Kurt Zeilenga
b8091cee87 Hack test environment to support multiple backends using
one set of slapd.conf files.
2000-10-01 22:46:52 +00:00
Kurt Zeilenga
20e8ca0ebe Remove cruft 2000-09-15 18:44:38 +00:00
Kurt Zeilenga
66e3b39001 Use o=OpenLDAP Project, remove unneed options 2000-09-13 20:14:45 +00:00
Kurt Zeilenga
08d397f65d Use root-dse to verify schema files 2000-09-13 14:31:22 +00:00
Kurt Zeilenga
fb1d935348 Remove entry +x, not needed. 2000-09-05 21:53:26 +00:00
Kurt Zeilenga
cee040a321 Bring UCdata infrastructure. 2000-09-03 23:48:35 +00:00
Kurt Zeilenga
32c7186b9c Add frontend support for "any" substrings assertions.
Needs to be tied into index mask and backend search code.
2000-08-22 02:23:52 +00:00
Kurt Zeilenga
57deefc94f Working slapindex! 2000-07-26 19:48:02 +00:00
Kurt Zeilenga
c49960df72 Add infrastructure for reindex testing 2000-07-26 18:24:44 +00:00
Kurt Zeilenga
8f8c483a8b Add 'index objectClass eq' 2000-07-26 01:06:27 +00:00
Kurt Zeilenga
9bfad46de6 Use substring indices 2000-07-19 01:08:42 +00:00
Kurt Zeilenga
c0bbb090b7 Fix substring indices and enable in tests. 2000-07-18 22:59:34 +00:00
Kurt Zeilenga
a42351c40f Fix an interaction error on multiple step binds.
Add additional notices.  Likely need to add a quiet mode.
2000-07-14 00:54:08 +00:00
Kurt Zeilenga
5fc22599e2 Update SASL code to reuse context through life of session.
Replace 'negotiated' with 'interactive' bind
Add hooks for SASL/EXTERNAL
Disable SASL security layers
Rework SASL command line and config file parameters
2000-07-13 22:54:38 +00:00
Kurt Zeilenga
9d1e2ef7e2 Rename local variable 'sun' to 'sa' to avoid clash on Sun computers... 2000-07-04 17:57:21 +00:00
Kurt Zeilenga
6020fe58e8 Modified slapd to be slurpd friendly.
Slurpd incorrectly sends a separate attribute for each value of an
	attribute which caused slapd to complain.  Hacked slapd/add.c
	to merge values.
	Slurpd uses version 2 and hence cannot set ManageDSAit.  Hack
	slapd/back-ldbm/referral.c such that if update_ndn matches
	o_ndn, no referrals are returned.
Fix replication tests
	ldapmodify must be made against master as no rebind proc exists
	final ldapsearch should not chase
Fix referral tests
	Use -C option as needed
2000-06-25 20:07:40 +00:00
Kurt Zeilenga
5f20cf1ed5 Modify ldapsearch(1) significantly. Now handles LDAPv3 search
references, extended results, and extended partial results.  LDIF
extended to support these new features and reported version 2.
-L now limits output to LDIFv1 for compatibility reasons.  No
-L is now LDIFv2.  Old alternative form is no longer supported.

Use LDAP_TMPDIR (in ldap_config.h) instead of hardcoded /tmp
Use LDAP_FILE_URI_PREFIX (in ldap_config.h) instead of hardcoded
	file://tmp/
2000-06-25 00:35:17 +00:00
Kurt Zeilenga
5290f6f289 Move BDB2 to Attic 2000-06-17 17:50:17 +00:00
Kurt Zeilenga
466b281426 Additional use of new ACL styles 2000-06-13 17:35:30 +00:00
Kurt Zeilenga
772b458cd8 Partially test new ACL styles. 2000-06-13 03:24:12 +00:00
Kurt Zeilenga
c81cc806ab Move old schema files to Attic.
SLAPD_SCHEMA_COMPAT *should* be able to use schema files
2000-06-05 07:17:51 +00:00
Kurt Zeilenga
ea069cb7c2 New indexer/filter codes (test suite works) with cheats
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Kurt Zeilenga
1605a04509 Must work with trailing / on URI 2000-06-01 20:55:36 +00:00
Kurt Zeilenga
9ede22dcd3 Don't need openldap.schema anymore to run tests 2000-05-31 00:13:37 +00:00
Kurt Zeilenga
6b06525c2c Trim '/' off of referral URL. 2000-05-29 21:16:45 +00:00
Kurt Zeilenga
64f028a6ab New schema code is now the default.
Use -DSLAPD_SCHEMA_COMPAT to use 1.x compatible schema (deprecated).
2000-05-29 16:39:16 +00:00
Kurt Zeilenga
b76043013d Resolve streetaddress vs. street through deletion 2000-05-27 19:18:08 +00:00
Kurt Zeilenga
3bb1b752c6 Remove dependency upon umichPilotPerson (use just newPilotPerson) 2000-05-23 21:36:44 +00:00
Kurt Zeilenga
af7f636c3d s/rfc822mailgroup/groupofnames/ as we don't have a LDAPv3 mailgroup spec 2000-05-23 19:47:54 +00:00
Kurt Zeilenga
18f31148be Working (but likely not robust) DNS SRV backend! 2000-05-10 22:43:08 +00:00
Kurt Zeilenga
7c28aa058c Add password check and generation check.
Modify tests to use -h "ldap://localhost:port/" instead of -p port.
1999-12-12 18:45:06 +00:00
Kurt Zeilenga
7db89cb1c0 Use $$ and other oddities. 1999-10-26 22:52:53 +00:00
Kurt Zeilenga
5cb377302b Add simple test for additive acl. 1999-10-21 23:17:17 +00:00
Kurt Zeilenga
2644018bc2 Add basic flow control tests 1999-10-21 21:23:43 +00:00
Kurt Zeilenga
5e459c4cf8 Use implicit 'by * none' and =rs 1999-10-21 21:16:18 +00:00
Kurt Zeilenga
3f9ba7e05a Minor acl optimizations. 1999-10-21 18:48:16 +00:00
Kurt Zeilenga
35655c056f Reimplement LDBM_SYNC/LDBM_NOSYNC code (dbnosync).
Old code applied sync flags to store(), however supported DBMs
require such flags to be specified during open().  The new
code now applies flags in ldbm_cache_open (which calls ldbm_open).
ldbm_cache_close() now calls ldbm_sync().  This will force
a updating of on-disk contents after each LDAP operation.
The old code either failed to sync the on-disk contents until
close or synced on every store.   Per LDBM operation syncing
*should* be safe enough... real data safety requires transactions.
Removed nosync option from BDB2 as it is not compatible with
txn support.
Also added code to disable DBM level locking as slapd is only
process acessing the databases (dbnolocking).
1999-09-23 19:49:20 +00:00
Kurt Zeilenga
e642a1b9cd Add OpenLDAP RCSid 1999-09-08 22:52:19 +00:00
Kurt Zeilenga
0197ec6f04 Remove use of quipu object classes 1999-08-31 17:09:17 +00:00
Kurt Zeilenga
375995be50 Another bogus postalcode removed 1999-08-17 18:46:08 +00:00
Kurt Zeilenga
4e60147654 Strip bogus postcode from entry 1999-08-17 18:44:53 +00:00
Kurt Zeilenga
44b4bda011 base64 encode userPassword 1999-08-05 00:56:54 +00:00
Kurt Zeilenga
b73b0c6158 Enhance LDIF handling
ldapsearch:
    use draft guidelines for determining when to use
    -t only writes binary attributes to files
    -tt writes all attributes to files
    output now lists URL instead of path to such files
    -T dir can be used to specify directory to create temp files in
    -V urlprefix can be used to change the URL prefix
    LDIF is now commented (can be disabled using -LL)
    LDIF now contains version attribute (can be disabled with -LLL)
LDIF:
    put interface changed to allow caller to specify how to encode
    put interface uses draft guidelines for determine when to base64 encode
    wrapping kludged to match old off by one bug
Tests:
    removed trailing space from some attributes (to avoid base64 encoding)
    enabled -LLL in defines.sh (should sed output to remove
        wrapping/comments/redundant separators)
Misc:
    updated codes outputting LDIF to use new put interface
TODO:
    handling of version attribute on input
    handling of URLs on input (ie: fetch URL)
1999-07-30 23:00:02 +00:00