RocketChat / RocketChat/Rocket.Chat

LDAP auth, "Domain Search Filter" & "complex" filter

Open
#8,373 7 comments 1 reaction 0 assignees 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

I have a problem with the "Domain Search Filter" in the LDAP auth module:

  • If I use a simple filter like:
    attributeX=Y
    it works

  • If I use a more complex filter like:
    (&(attributeX=Y)(attributeZ=W))
    it doesnt work

Is there a special way to format this filter or is it not supported ?

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.

Research direction

Start by locating the LDAP authentication module and the handling for the “Domain Search Filter” setting. Reproduce the difference between the simple and compound filters, then determine whether compound LDAP filters are supported; done means the behavior is fixed or the supported format is clearly established and covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.