Improvements for ldap management