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

Re: Patch for search -s one/sub -b "" [Was: DSE Root/first entry]

At 05:19 PM 10/18/00 +0100, Konstantin Chuguev wrote:
>Hi All,
>"Kurt D. Zeilenga" wrote:
>> >> >You say that with OpenLDAP we should be able to manage suffix "" and first level entries, only
>> >> >a bug prevents it. I would like to help to find the bug. Can I know the details please.
>> >>
>> As I noted above, the backend search won't be able to locate
>> an entry at the root as there is no entry at the root.  Basically,
>> the special case needs to be added to handle e == NULL and
>> nbase == "".
>Could developers review the attached patch please. 

That looks like it should work... I've taken a bit from it and
some of my own thoughts and committed some code which should do
the trick... but I haven't the time to test it right now.  Bitch
if it needs tweaking.