RocketChat / RocketChat/Rocket.Chat

Unable to login with LDAP: User not found or incorrect password

Open
#21,681 3 comments 0 reactions 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

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:
  1. Go to login screen
  2. Enter LDAP username and password
  3. Click [Login] button
Expected behavior:
Actual behavior:

User should be logged in

Server Setup Information:
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.