Kurt Zeilenga [Mon, 3 Jul 2000 19:03:22 +0000 (19:03 +0000)]
Add reporting of LDAPv3 referrals. Should also report returned controls.
Also, as written, the code will behave better in the face of unsolicited
noticifications (such as notice of disconnect). However, code needs to
be improved to better distinguished such from expected result response.
Delete improvements are limited to base object delete. Should be applied
to -p[rune] option as well.
Dmitry Kovalev [Thu, 29 Jun 2000 21:14:43 +0000 (21:14 +0000)]
changes for 2.0-beta
including:
- fixes according to new API changes
- closing db connection in connection_destroy callback, not unbind
- support of new schema code, samples changed accordingly
- support for multiple objectclasses (to distinguish from unique objectclass-to-tables mapping)
- auto 'ref' attribute support
- samples now include illustrations of using these 2 features to make named referrals as described in ldapext-namedref draft
more to come:
- documentation update
- different improvements to be more close to native directory (after beta?)
Kurt Zeilenga [Mon, 26 Jun 2000 05:13:41 +0000 (05:13 +0000)]
Add attribute type/matching rule support for structuralObjectClass attribute
type. Add type to core.schema. Not yet populated on add nor checked on modify.
Kurt Zeilenga [Sun, 25 Jun 2000 20:07:40 +0000 (20:07 +0000)]
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
Kurt Zeilenga [Sun, 25 Jun 2000 18:07:15 +0000 (18:07 +0000)]
Round 2 of tools work.
-R now ignored
-C added to chase. No rebind proc yet, no checking of appropriate authentication.
complain if non-critical TLS was not started.
Fail if requested version is not supported.
ldapdelete:
deletechildren modified to use ldap_search_ext_s()
fixed deletechildren dn memory leak
ldapsearch:
modified to use ldap_search_ext()
Kurt Zeilenga [Sun, 25 Jun 2000 00:35:17 +0000 (00:35 +0000)]
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/
Kurt Zeilenga [Sat, 24 Jun 2000 01:40:39 +0000 (01:40 +0000)]
Added -llber 'N' ber_printf format which inserts a NULL if
an internal flag set. Used for SEQUENCE testing. Flag must
be set using debugger. Modified ber_printf to use new format
were needed for extensibility testing.
Added first cut -lldap support for extended responses.
Modified ldapsearch(1) to handle v3 search references when not
chasing. Also added extended/unsolicited notification handling
and extended partial response handling. Changes include a
number of LDIF enhancements.
Kurt Zeilenga [Sun, 18 Jun 2000 19:48:07 +0000 (19:48 +0000)]
Round one of LDAP_F() macro changes. In this round we rename
macros into our namespace and limit use to headers. A subsequent
round will add macros to separately handle forward declarations
of variables from declaration of function prototypes. The last
round will add additional macros for declaring actual variables and
functions.