Am Mon, 10 Jun 2013 09:34:50 -0700 schrieb Philip Guenther guenther+ldaptech@sendmail.com:
On Mon, 10 Jun 2013, Dieter Klünter wrote: ...
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
You left out the space between the assertion control and the -H. As a result, "ldapi:///" was taken as an attribute to return and the assertion filter was "l=Tombstone-H", which will obviously fail.
This isn't just a typo in your email, as can be seen here:
# requesting: ldapi:/// sn l
Right you are, mea culpa.
-Dieter