implemented ldap_auth