Fixed LDAP issues.