LDAP search filter validation