mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 16:25:55 +03:00
[PR #1181] [MERGED] fix: nextcloud example allows all ldap users to login #1166
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#1166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/1181
Author: @ThorpeJosh
Created: 5/29/2025
Status: ✅ Merged
Merged: 5/30/2025
Merged by: @nitnelave
Base:
main← Head:patch-1📝 Commits (1)
b8db383fix: nextcloud example📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
example_configs/nextcloud.md(+2 -2)📄 Description
Nextcloud has 2 sections in the LDAP/AD integration app called "Users" and "Login Attributes".
I don't fully understand the difference between the two, however I followed the current lldap nextcloud example and discovered the following security issue...
With the Login Attributes filter set to
(&(objectclass=person)(uid=%uid))any ldap user (even those that are not in thenextcloud_usersgroup) can login to the nextcloud instance and get a fully functioning nextcloud account provisioned.Even more confusing is that any user that is not part of
nextcloud_usersgroup that logs into nextcloud, does not show up as a user in the nextcloud administrator portal, making these users almost an invisible user to the nextcloud administrator, but can still login, user the nextcloud services, etc.The proposed changes add the same filter from the examples "Users" section, to the "Login" section so that only ldap users in the "nextcloud_users" group are allowed to login.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.