Sync LDAP Groups from Active Directory

Hello, i have rocket-chat app in virtual box

 Rocket.Chat Version: 3.15.0                  
 NodeJS Version: 12.18.4 - x64           
 MongoDB Version: 4.0.24                  
 MongoDB Engine: mmapv1                  
 Platform: Ubuntu 20.04.2 LTS x86_64              
 Process Port: 3000                    
 ReplicaSet OpLog: Enabled                 
 Commit Hash: 55457025d6              
 Commit Branch: HEAD     

I want to compare AD groups with rocket chat roles, I’ve reviewed many online implementations but not one has helped. Tell me how to set up this process correctly.

Hi.

Just login and look in the admin section.

2 Likes

Thanks for your answer, but I am read the guides. I have complex structure in AD, I want to find a user who belongs to a group in a group. If you know how to do it, plees give me feedback.

OK, that isn’t the same as your original question.

You really need to describe what you are doing properly.

If you are trying to query groups within groups via LDAP and to map to Rocket.Chat roles I am not sure how easy that will be to do.

I am finished the qwestion, i am write “User Data Field Map” :
{"cn":"name", "mail":"email", "memberOf=CN=#{groupName}":"roles"} .
It helped solve my problem
Thanks for yours answers)

Hi,

I am glad you got it resolved and thank you for posting your answer which will help others!