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

approx searchs broken in 2.2.8 (ITS#3062)



Full_Name: Martin Evans
Version: 2.2.8
OS: Solaris 8
URL: 
Submission from: (NULL) (138.37.7.247)


Approx searches are not returning any entires.

An exact search:

bash-2.05b$ ldapsearch -H ldap://<host>/ -LLL -x -b "<baseDN>"  "(cn=MDT
Evans)"
dn: ***************************************
uid: *****
ou: Computing Services
objectClass: inetOrgPerson
sn: Evans
cn: MDT Evans
initials: MDT
 
However,

bash-2.05b$ ldapsearch -H ldap://<host>/ -LLL -x -b "<baseDN>"  "(cn~=MDT
Evanz)"

bash-2.05b$ ldapsearch -H ldap://<host>/ -LLL -x -b "<baseDN>"  "(cn~=MDT
Evans)"

Both give no results.

As far as I understand it (for LDAP3 compliancy) the last two entries should at
least return with the same entry as the exact search. Preferably though, they
will use the approximate matching routines already in schema_init.c of 2.2.8.

Kind regards,
Martin.