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

Some search filters fail if objectClass is indexed (ITS#2449)



Full_Name: John Madden
Version: 2.1.17
OS: Solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (168.91.4.66)


Sample LDIF that exhibits the problem:

dn: uid=username,ou=users,ou=ctime,ou=Applications,dc=ivy,dc=tec,dc=in,dc=us
objectClass: organizationalPerson
objectClass: uidObject
cn: username
sn: username
uid: username
userPassword: {crypt}stuff

Sample filter that exhibits the problem:
(&(|(!(ctCalXItemId=*))(!(ctCalXItemId=*:*)))(objectClass=organizationalPerson))

Symptom: The filter returns no search results.  Removing either of the two OR'd
statements allows the filter to work, as does removing the Index on objectClass,
currently implemented as "index   objectClass     eq".  The issue and potential
workaround (which is obviously not acceptable) have been confirmed by other
users.