Added LDAP support.