RocketChat / RocketChat/Rocket.Chat
Unable to login with LDAP: User not found or incorrect password
Open
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:
Updading LDAP users and after that users not able to log in : the error popup "User not found or incorrect password" is displayed. Local users are still able to log in.
Steps to reproduce:
- Go to login screen
- Enter LDAP username and password
- Click [Login] button
Expected behavior:
Actual behavior:
User should be logged in
Server Setup Information:
- Version of Rocket.Chat Server: 3.13.2
- Operating System: Ubuntu 20.04.2 LTS
- Deployment Method: Manual Installation https://docs.rocket.chat/installation/manual-installation/ubuntu
- Number of Running Instances: 4
- DB Replicaset Oplog: Enabled
- NodeJS Version: v12.22.1
- MongoDB Version: 4.0.23 / mmapv1 (oplog Enabled)
Client Setup Information
- Desktop App or Browser Version: Firefox 87.0 (64-bit), Chrome Version 90.0.4430.72 (Official Build) (64-bit), Android app Version 4.16.1
- Operating System: Fedora 33, Windows 10, Android 10
Additional context
Relevant logs:
the error popup "User not found or incorrect password" is displayed.
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 at the LDAP login flow behind the login screen and compare it with local-user login after an LDAP user update. Reproduce the failure using the listed Rocket.Chat 3.13.2, NodeJS, MongoDB, and four-instance setup; done means LDAP users can log in while local users remain unaffected.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100