Commit Graph

68 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
9c61bc561f Return LDAP_CONSTRAINT_VIOLATION if user attempts to modify
a non-user-mod attribute (such as timeStamps).
Move generation of add_modify_attrs to frontend.
update of add_modify_attrs on modrdn needs work (currently
not updated to maintain consistency with replicas).
1999-07-27 20:00:31 +00:00
Kurt Zeilenga
73276e84ae Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS.
Includes support for update referral for each replicated backend.
	Reworked replication test to use update referral.
Includes major rewrite of response encoding codes (result.c).
Includes reworked alias support and eliminates old suffix alias codes
(can be emulated using named alias).
Includes (untested) support for the Manage DSA IT control.
Works in LDAPv2 world.  Still testing in LDAPv3 world.
Added default referral (test009) test.
1999-07-16 02:45:46 +00:00
Kurt Zeilenga
b8edef2b2c Copy LDBM bind "ACL_AUTH" and SASL framework to bdb2. 1999-07-07 18:47:51 +00:00
Kurt Zeilenga
51d1c90887 unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH 1999-07-05 06:26:26 +00:00
Kurt Zeilenga
6380786169 Add '^' and '$' to ACLs RE's. 1999-06-15 19:41:42 +00:00
Juan Gomez
fac246b834 Sync this files for this example to work properly. 1999-06-10 01:25:55 +00:00
Juan Gomez
96929b07a5 Need output for various tests in differen files so we know which specific
part fails if it does.
1999-05-27 00:29:39 +00:00
Juan Gomez
b372720819 Added nis ldif in the right place. 1999-05-27 00:20:41 +00:00
Juan Gomez
385dab9176 Point to new dir. 1999-05-26 23:18:50 +00:00