RocketChat / RocketChat/Rocket.Chat
LDAP Group - Channel Assignment Issue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
LDAP Group Channel Map not working.
Steps to reproduce:
- Set Base DN: OU=Users,OU=Camarena,DC=CAMARENAHEALTH,DC=ORG
- Set LDAP Group Base DN: OU=Users,OU=Camarena,DC=CAMARENAHEALTH,DC=ORG
- Group filter: (&(sAMAccountName=#{username})(memberof:1.2.840.113556.1.4.1941:=CN=#{groupName},DC=CAMARENAHEALTH,DC=ORG (objectCategory=person)(objectClass=user))
- LDAP Group Channel Map: {"IT_Department":"it_test"}
Expected behavior:
End users inside the group IT_Department are automatically assigned to the channel it_test.
Actual behavior:
End user in group IT_Department was not assigned to the channel it_test.
Server Setup Information:
- Version of Rocket.Chat Server: 3.8.0
- Operating System: Ubuntu 20.04.01
- Deployment Method: Manual
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 12.18.4
- MongoDB Version: 4.0.21
Client Setup Information
- Desktop App or Browser Version: Both
- Operating System: Windows 10
Additional context
Enterprise customer with about 500 users. Not having a decent LDAP import process for AD is a huge downer. There are other issues concerning LDAP that needs to be addressed. Not sure if I would make a separate issue per.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the LDAP group channel mapping with the Base DN, group filter, and {"IT_Department":"it_test"} configuration provided. Trace the LDAP group assignment flow and verify that users in IT_Department are assigned to it_test without breaking other LDAP authentication behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, authorization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100