Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0-M6
-
None
-
None
Description
If you carry out a search trying to match on a boolean attribute (syntax: 1.3.6.1.4.1.1466.115.121.1.7) and an equality matching rule of booleanMatch then searching for classes with the attribute value equalling TRUE or FALSE never return results.
Changing the equality matching rule on the attribute to caseIgnoreMatch will return results.
Used to work in 1.5.7 but no longer works in 2.0.0-M6.
To recreate try searching ober the ou=config entry for "ads-enabled = TRUE" as per the example below from the search logs, which should return "ads-directoryServiceId=default,ou=config" but returns no results.
#!SEARCH REQUEST (667) OK
#!CONNECTION ldap://localhost:10389
#!DATE 2012-05-16T16:34:51.265
- LDAP URL : ldap://localhost:10389/ou=config?objectClass?sub?(ads-enabled=TRUE)
- command line : ldapsearch -H ldap://localhost:10389 -x -D "uid=admin,ou=system" -W -b "ou=config" -s sub -a always -z 1000 "(ads-enabled=TRUE)" "objectClass"
- baseObject : ou=config
- scope : wholeSubtree (2)
- derefAliases : derefAlways (3)
- sizeLimit : 1000
- timeLimit : 0
- typesOnly : False
- filter : (ads-enabled=TRUE)
- attributes : objectClass
#!SEARCH RESULT DONE (667) OK
#!CONNECTION ldap://localhost:10389
#!DATE 2012-05-16T16:34:51.265
- numEntries : 0