Ldap validation changes