Dieter Klünter wrote:
changing the filter to (l:caseExactmatch:=tombstone) shows the expected results
# search result search: 2 result: 0 Success
Now a search with assertion control allways shows error 122
ldapsearch -YEXTERNAL -e assert='l=Tombstone'-H ldapi:/// -b "cn=Billy Kid,ou=tombstone,o=avci,c=de" -s base sn l
LDAPv3 # base <cn=Billy Kid,ou=tombstone,o=avci,c=de> with scope baseObject # filter: (objectclass=*) # requesting: ldapi:/// sn l #
# search result search: 2 result: 122 Assertion Failed
The same applies to an extended assertion filter ldapsearch -YEXTERNAL -e assert='l:caseExactmatch:=Tombstone' -H ldapi:/// -b "cn=Billy Kid,ou=tombstone,o=avci,c=de" -s base sn l
# search result search: 2 result: 122 Assertion Failed
What is wrong with this assertion filter?
Do you also have slapo-unique configured for this DB? If yes, you might hit ITS#6916.
http://www.openldap.org/its/index.cgi?findid=6916
Ciao, Michael.