LDAP auth implementation.