Added LDAP validation