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

exact searches fail for hdb?



I'm experiencing something strange after my last update of HEAD: search
tests (003, 015) fail for hdb while they're successful for bdb.  Since
they share most of the code, it appears to be quite strange.  I've tracked
the searches that fail to those that involve exact or substring filters;
for instance, the following in test003:

../clients/tools/ldapsearch -P 3 -x -LLL -S '' -b dc=example,dc=com -h
localhost -p 9011 '(sn=Jensen)'

returns nothing; but if I run

../clients/tools/ldapsearch -P 3 -x -LLL -S '' -b dc=example,dc=com -h
localhost -p 9011 '(sn~=Jensen)'

or

../clients/tools/ldapsearch -P 3 -x -LLL -S '' -b dc=example,dc=com -h
localhost -p 9011 '(sn:=Jensen)'

I get all the results (note that there are two entries that should match
the filter), while if I run

../clients/tools/ldapsearch -P 3 -x -LLL -S '' -b dc=example,dc=com -h
localhost -p 9011 '(sn=*Jensen*)'

I get nothing again.

The same happens to subsequent searches that involve exact matches, e.g.

../clients/tools/ldapsearch -P 3 -x -LLL -S '' -b
ou=groups,dc=example,dc=com -s one -h localhost -p 9011
'(&(objectclass=groupofnames)(cn=A*)(member=cn=Mark Elliot,ou=Alumni
Association,ou=People,dc=example,dc=com))'

This is essentially related to attributes that are indexed.

Anyone else noticed this?

Ciao, Ando.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497