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

FW: "ldapsearch uid=ab*" works "ldapsearch cn=a*" doesn't in 2.1.19



I think someone needs to take my keyboard away for a while. All those patches
in filterindex.c keep breaking something else.

In this case, the code is now broken for non-indexed attributes. One thing
after another...

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Howard Chu
Sent: Tuesday, May 13, 2003 12:52 AM
To: 'Michael Dean'; openldap-software@OpenLDAP.org
Subject: RE: "ldapsearch uid=ab*" works "ldapsearch cn=a*" doesn't in
2.1.19


> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Michael Dean

> hi
>
> I've just recently upgraded from 2.1.17 to 2.1.19 and I'm now having
> problems
> doing a one character plus wildcard search in 2.1.19.. ie.
>
> with two characters (or more) with the wildcard the search
> returns some
> data ...

Due to a bug in substring indexing that was fixed in 2.1.18 and 2.1.19, the
substring index format changed. You need to run slapindex to regenerate your
substring indexes. Sorry for this, the format change was unavoidable in order
to correct the bug.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support