Description
Hello all,
i want to use the new Sync LDAP Grous function and i can’t figure out how to set it up.
The system is currently configured to let map all users of a group using the old search user tab with the filter:
(memberOf=cn=Rocket_Chat,ou=Group,ou=base,ou=rocket,dc=test,dc=net)
scope: sub
search: sAMAccountName
i tried to set up the new Sync option like this:
User Group Filter: (&(cn=#{groupName})(description=#{username}))
LDAP GROUP BaseDN ou=Group,ou=base,ou=rocket,dc=test,dc=net
User Data Group Map
{
“rockettest”: “Moderator”,
“Rocket_Admin”: “admin”
“Rocket_crm”: “livechat-agent”
}
It does not work with this configuration and i can’t figure out the problem.
If someone could please help me with this problem it would be super nice
Thanks a lot and Best Regards
Server Setup Information
- Version of Rocket.Chat Server: 2.0.0
- Operating System: linux
- Deployment Method: tar
- Number of Running Instances: 1
- DB Replicaset Oplog: active
- NodeJS Version: v8.11.3
- MongoDB Version: 4.0.12
Any additional Information
Members of the ldap groups seem to be identified by an attribute with the name “member” and a value that looks like the distinguishedName of the user
(CN=Max Mustermann,ou=Group,ou=base,ou=rocket,dc=test,dc=net ).
All Groups are global security group and i’m using active directory on a WindowsServer 2016.