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

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

requate@univention.de wrote:
> Full_Name: Arvid Requate
> Version: 2.4.40
> OS: Debian / UCS
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> 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.

Fixed now in git master.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/