RocketChat / RocketChat/Rocket.Chat

LDAP Base DN Multiple Subtree non-functional for > 2

Open
#13,633 0 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

area: authentication
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

The Base DN search pattern of ou=Users+ou=Projects,dc=Example,dc=com functions, but ou=More Users+ou=Users+ou=Projects,dc=Example,dc=com does not.

Steps to reproduce:
  1. Administration -> LDAP -> Base DN
  2. Set to ou=Users+ou=Projects,dc=Example,dc=com and then "Execute Synchronization Now"
  3. Check server log and see that users imported reports (users in Users OU & Projects OU*2) users imported.
  4. Set to ou=More Users+ou=Users+ou=Projects,dc=Example,dc=com and then "Execute Synchronization Now"
  5. Check server log and see that users imported reports (users in Users OU & Projects OU*2) users imported.
Expected behavior:

After running 3 above, 4 should report (users in More Users OU & Users OU & Projects OU*2) users imported.

Actual behavior:

After running 3 above, 4 reports (users in Users OU & Projects OU*2) users imported.

Server Setup Information:
  • Version of Rocket.Chat Server: 0.74.2
  • Operating System: Ubuntu 18.04
  • Deployment Method: Snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabed
  • NodeJS Version: v8.11.4
  • MongoDB Version:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.