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

LDAP sync

Open shahar3012 opened this issue 11 years ago • 10 comments

Hi, I believe it will be great to have a way to sync user inforamtion such as display name and avatar (image) from the Active Directory.

This feature has to do ldap queries to fetch the user data. The data fetching can be done when the user is connected to Rocket.Chat for the first time after the authentication - SSO and auto creation of users.

Also, there should be some settings for the LDAP connection and an option to choose the query field (for example sAMAccountName, userPrincipalName) in a text input.

shahar3012 avatar Jun 26 '15 20:06 shahar3012

What help is required with this?

I'm not familiar with JS and Meteor but I've worked with quite a bit of LDAP.

hjf288 avatar Jun 30 '15 14:06 hjf288

Depends on #222

engelgabriel avatar Jun 30 '15 18:06 engelgabriel

Lets get some help from https://github.com/sscpac/chat-locker/issues/45

engelgabriel avatar Aug 07 '15 20:08 engelgabriel

@rodrigok you've done some work on LDAP lately. Was this issue approached? Can we close it?

marceloschmidt avatar Sep 16 '15 19:09 marceloschmidt

We are not retrieving any data from LDAP for user profile.

rodrigok avatar Sep 16 '15 19:09 rodrigok

:+1: for this feature, especially for pulling the email into the user account once a bind has completed.

blaskovicz avatar Oct 22 '15 20:10 blaskovicz

Doesn't not pulling the email also break any emailing settings (ie no users will get emailed)?

blaskovicz avatar Oct 23 '15 14:10 blaskovicz

@blaskovicz yes, but we don't have email notifications yet.

rodrigok avatar Oct 23 '15 14:10 rodrigok

I have proposed a JSON mapping between LDAP field and RocketChat fields (name and email as this point for security reasons) at #1236 . It will sync this fields during authentication.

Although it does not import Avatars at this point, please review and let me know if that suits your current needs :)

gmsecrieru avatar Oct 26 '15 21:10 gmsecrieru

I believe we can close this one since #1236 was merged.

gmsecrieru avatar Oct 28 '15 18:10 gmsecrieru