nextcloud / nextcloud/server

Show LDAP lock out message

Open
#6,010 14 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: ldap needs info
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

  • LDAP is setup as user backend for Nextcloud
  • LDAP has rules to expire passwords
  • once the expiry date is reached the user is not able to login
  • actual: there is no proper error message about this
  • expected: it should show the user "Your account is locked" on the next login

This was noticed on an stable11 instance.

cc @nextcloud/ldap

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 tracing the LDAP user-backend login path for accounts whose password has expired. Reproduce the behavior on a stable11 instance and inspect the next-login handling. Done means an affected user sees "Your account is locked" instead of no useful error message.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.