Fix ldap various