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

RE: 'pres' index breaks searches (ITS#2015)



This is now fixed in CVS HEAD, back-bdb/index.c 1.26

  -- 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-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
> andrew.findlay@skills-1st.co.uk
> Sent: Thursday, August 08, 2002 6:51 AM
> To: openldap-its@OpenLDAP.org
> Subject: 'pres' index breaks searches (ITS#2015)
> 
> 
> Full_Name: Andrew Findlay
> Version: 2.1.3
> OS: FreeBSD 4.6
> URL: 
> Submission from: (NULL) (217.206.98.194)
> 
> 
> 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
> 'uid=*'
> 
> 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
> 8/8/2002.
> I have not tested other backends.
> 
> This may be related to ITS#1969
> 
> 
>