ldap search bug