[Date Prev][Date Next]
(ITS#7307) Inconsistent "!" evaluation
Full_Name: Quanah Gibson-Mount
OS: Linux 2.6
Submission from: (NULL) (220.127.116.11)
Handling "!" with objectClasses appears to be broken. For example, if I perform
the following ldap query:
zimbra@zre-ldap002:~$ ldapsearch -LLL -x -H ldapi:/// -D cn=config -w zimbra -b
This result appears incorrect to me. I would expect it to return all entries
without that objectClass (which in this case, would be every entry).
Doing the same sort of search on a different attribute, the behavior is as
ldapsearch -LLL -x -H ldapi:/// -D cn=config -w zimbra -b "" '(!(mail=junk))'
# search result
result: 0 Success
# numResponses: 82
# numEntries: 81