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

'pres' index breaks searches (ITS#2015)

Full_Name: Andrew Findlay
Version: 2.1.3
OS: FreeBSD 4.6
Submission from: (NULL) (

LDAP supports searches for the presence of a particular attribute, whatever it's
value. Thus, to search fo any entry containing a UID attribute the filter is

Searches of this form return no results if the relevant attribute is indexed for
'pres' searching. e.g. in slapd.conf:

index uid pres,eq,sub

Create an entry containing a UID, and search the subtree for 'uid=*' to
demonstrate the problem.

I observed this problem on a BDB database under 2.1.3 and HEAD updated to
I have not tested other backends.

This may be related to ITS#1969