[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7975) MDB search scope one and filter returns search base
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7975) MDB search scope one and filter returns search base
- From: hyc@symas.com
- Date: Wed, 29 Oct 2014 18:06:06 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
requate@univention.de wrote:
> 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.
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/