[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3944) "matched" and return code issues in back.-meta

Full_Name: Pierangelo Masarati
Version: HEAD/re23
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: ando

An issue somewhat related to ITS#3942; in case noSuchObject is hit, the
appropriate error code is sent, but the return value of meta_back_search may not
be LDAP_NO_SUCH_OBJECT, which may create problems when called as an internal
search.  Moreover, if no target was selected, no "matched" is returned (the
suffix of the database would be more appropriate, as it was picked by
select_backend()).  Finally, it is returning the first "matched" in the array of
candidates; a more consistent solution is to return the longest (prettified)

A fix is coming.