How to sync LDAP (AD) groups

Description

I would like to add channels from our AD groups automatically, but, as many others here, I can’t get it wo work out of the box.

Our AD structure is like this:

OU=groups,DC=eins,DC=zwei,DC=de
CN=LG_Chat,OU=groups,DC=eins,DC=zwei,DC=de (only members of this group are allowed to login, no nested groups here so far)

inside the OU “groups” there are other OUs like

OU=Untergruppe1,OU=groups,DC=eins,DC=zwei,DC=de
CN=LG_Tool1,OU=Untergruppe1,OU=groups,DC=eins,DC=zwei,DC=de
CN=LG_Tool2,OU=Untergruppe1,OU=groups,DC=eins,DC=zwei,DC=de

OU=Untergruppe2,OU=groups,DC=eins,DC=zwei,DC=de
CN=LG_Tool3,OU=Untergruppe1,OU=groups,DC=eins,DC=zwei,DC=de
CN=LG_Tool4,OU=Untergruppe1,OU=groups,DC=eins,DC=zwei,DC=de

Some of the members of LG_Chat, who are allowed to login, are members of e.g. LG_Tool1,…

I want RC to add these usere to the corresponding channels

#Tool1 --> members of LG_Tool1

RC creates the channels, but no users are added, I can’t find anything in the logs.

LDAP Group BaseDN:

CN=LG_Chat,OU=groups,DC=eins,DC=zwei,DC=de

grafik

LDAP Group Channel Map:

{
“LG_Tool1”: “Tool1”,
“LG_Tool2”: “Tool2”
}

Any hints on this, please??? :wink:

Server Setup Information

  • Version of Rocket.Chat Server: 3.5.3
  • Operating System: Debian 10
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: yes
  • NodeJS Version: 12.16.1
  • MongoDB Version: 4.0.16
  • Proxy: Citrix ADC
  • Firewalls involved: Checkpoint

Any additional Information