LDAP: Allow mapping of user active state
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
[!TIP]
Help move this idea forward
- Use the 👍 reaction to show support for this feature.
- Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
- Subscribe to receive notifications about status changes and new comments.
Is your feature request related to a problem? Please describe.
We have an LDAP server providing users, which might get deactivated for certain times. With the current implementation we cannot determine whether a user is only temporarily disabled or removed from the LDAP server as to disable a user via LDAP it has to be "removed" for Nextcloud (e.g. through filters).
However, then we cannot automatically delete users, which are really deleted from LDAP.
Describe the solution you'd like
Map an active attribute from LDAP to Nextcloud.
Describe alternatives you've considered
We considered not using LDAP alltogether, e.g. using the API directly for user provisioning. However, this seems a bit overkill as it really is only a small feature missing.
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 Nextcloud Server’s LDAP user synchronization and provisioning entry points, then trace how filtered or missing LDAP users are currently handled. Define how the mapped active attribute distinguishes temporary deactivation from removal, and add coverage for both states so the existing deletion behavior remains verifiable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100