Handle ldap reconnection in case ldap server has been restarted
Correclty update group for ldap user in case it has changed since last connection