Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Allow disable LDAP synchronization for user

Open mjasion opened this issue 10 years ago • 1 comments

Your Rocket.Chat version: 0.40.0

In collection users user that has been authenticated by LDAP has set flag ldap: true. To disable synchronization with LDAP for this user I have to set this flago to false

It would be nice to edit this flag from Administration UI

In gitlab i can remove LDAP identity by clicking button as below: image

mjasion avatar Sep 21 '16 14:09 mjasion

As the code stands right now setting ldap: false in the user document essentially disables LDAP auth (for this user) and they can't log in anymore (Even with fallback set to true). This field is not solely responsible for synchronising LDAP data (name, email)... At least with the LDAP settings that I have currently.

You can set 'Merge existing users' to true, but then it sets ldap: true again in the DB, so my question is, are you wanting a way to add/remove the user management from LDAP for certain users or just the syncing of user data?

jamie-owen avatar Oct 06 '16 10:10 jamie-owen