Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldif
Modified Files:
ldif.c 1.96 -> 1.97
Log Message:
ITS#5408 part 10 - errors from search and slapcat.
- Tweak error code/message for absent directory, including database directory.
- Catch closedir() error.
- ldif_tool_entry_close(): Free entries and reset entry list.
- Propagate any error to slapcat & co.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/ldif.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldif
Modified Files:
ldif.c 1.95 -> 1.96
Log Message:
ldCVS: ----------------------------------------------------------------------
ITS#5408 part 9 - Sorted RDNs.
- Parse sorted attrs more carefully:
Accept only attr={num}val.ldif and attr=val{num}.ldif and only base 10.
Sort "attr=foo" before "attr=foo{n}". Truncate at ".ldif" while sorting.
- Make the sort order independent of the LDIF files' order in the directory.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/ldif.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldif
Modified Files:
ldif.c 1.93 -> 1.94
Log Message:
ITS#5408 part 7 - Search operation bugs in r_enum_tree().
- Do not modify op->ors_scope, pass scope parameter instead.
- Save copies of dn/ndn before sending with REP_ENTRY_MODIFIABLE.
- Only the search baseDN may produce noSuchObject.
- More accurate result code.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/ldif.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldif
Modified Files:
ldif.c 1.92 -> 1.93
Log Message:
ITS#5408 part 6 - referrals.
- Sending continuation references:
Drop an unnecessary and wrong LDAP_SCOPE_BASE check. The correct
check would have been for DN == baseDN.
Do not rewrite the scope, the caller already did.
- ldif_prepare_create(): Check that parent/newSuperior is not a referral.
- Rewrite ldif_back_rerferrals(). Better error handling. Always pass
refs through referral_rewrite(). As in back-bdb, apply manageDSAit
only to the baseDN and do not use default_referral.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/ldif.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldif
Modified Files:
ldif.c 1.90 -> 1.91
Log Message:
ITS#5408 part 4 - preparing for entry creation. More error handling.
- Move mkdir() into ldif_write_entry(). Modrdn lacked this.
- Factor tests for whether to create entry & dir out to ldif_prepare_create().
- Ensure an entry always exists if the corresponding subtree directory does.
- Move get_parent_path() up, accept NULL output param and malloc errors.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldif/ldif.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.