add support for ldap authentication