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

(ITS#7975) MDB search scope one and filter returns search base



Full_Name: Arvid Requate
Version: 2.4.40
OS: Debian / UCS
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (82.198.197.8)


With an mdb backend the command

ldapsearch -xLLL -b dc=ar40i1,dc=qa -s one objectClass=domain dn

returns the base DN. With a bdb backend it doesn't.

The crucial point seems to be the filter in this case, which matches the base
object only, and none of it's children. If I change the filter to
objectclass=top (or leave it away) then only the children are returned, just
like the behaviour of the bdb backend.