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

*...*...*...* filter bug (ITS#1230)



Full_Name: David Olivier
Version: 2.0.7 and 2.0.11
OS: Solaris 8, HP, Compaq
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (159.84.44.142)


A search using filter:

   (cn=*jean*jacques*regnier*)

returns an entry whose (only) cn is "Jean-Claude REGNIER".

In fact it seems that the second part isn't taken into account at all:

   (cn=*jean*blurblesmooch*regnier*)

returns the same entry.

It seems there is a bug in the filter processing when you have four (or more?)
wildcards.

One might suspect the indices, but I don't think they're corrupted. The database
is fresh. I have an "eq,sub" index on cn.

cn is declared in the standard way in core.schema. A search with just three
wildcards gives the correct answers.

I'm on openldap 2.0.11 over berkeley db 3.2.9; Solaris 8.

Another person has added:

>> Try "*john*blurblesmooch*smith*" for instance.
>
> Yes, same problem on 2.0.7, HP server, and 2.0.11, Compaq tru64 server.

On the other hand, my old openldap v1.2.9 server doesn't display this bug.