R
R
Roman2021-03-29 13:02:51
LDAP
Roman, 2021-03-29 13:02:51

How to set up import of users from Active Directory to Rocket.Chat?

Good afternoon! Set up synchronization of Active Directory users with Rocket.Chat. It synchronizes normally, but only all accounts and groups from cn=Users are imported. I made a separate group where I added the necessary accounts, called it rocket_chat, but importing from Base DN: CN=Users,CN=rocket_chat,DC=domain,DC=com does not work, synchronization only works with these settings: Base DN: CN=Users ,DC=domain,DC=com
In this regard, the question is how to configure the import of users from a specific group?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Dmitriev, 2021-03-29
@SignFinder

I suspect that there can be no group in the Base DN, only OU.
And as a group DN - "CN=Users," is superfluous.
Here is a utility for viewing the DN of objects
https://docs.microsoft.com/en-us/sysinternals/down...

R
Roman Bezrukov, 2021-03-29
@NortheR73

I made a separate group where I added the necessary accounts, called it rocket_chat

where (in which container) did you create it?
BaseDN should be either CN=Users,OU=rocket_chat,DC=domain,DC=com or CN=rocket_chat,CN=Users,DC=domain,DC=com
In a simple way: your group properties - attribute editor - copy the distinguishedName value

R
Roman, 2021-04-13
@clientw

The problem is solved with the following settings:
Base DN: DC=domain,DC=com
Filter: memberOf=CN=rocket_chat,CN=Users,DC=domain,DC=com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question