Assertion failure in ldapsearch