ldap fix