fixes for ldap users stuff