mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #1199] [BUG] Erroneous warnings from queries in logs #425
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#425
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?
Originally created by @xenorites on GitHub (Jul 6, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1199
There are frequent incorrect warnings on query filters:
I am currently working with Nextcloud, and these are the queries for user filtering:
Users:
(&(|(objectclass=person))(|(memberOf=cn=Nextcloud Users,ou=groups,dc=xenorites,dc=com)))Login Attributes:
(&(&(objectclass=person)(enabled=1)(memberOf=cn=Nextcloud Users,ou=groups,dc=xenorites,dc=com))(uid=%uid))The queries work as expected. E.g. setting
enabledto2or0prevents the user from logging in, and the users filter only sees the 4 users that are members of theNextcloud Usersgroup.@xenorites commented on GitHub (Jul 6, 2025):
The LDAP config from NextCloud
@xenorites commented on GitHub (Jul 6, 2025):
Wow, totally clicked the wrong button. Please reopen.
@nitnelave commented on GitHub (Jul 6, 2025):
You can silence these warnings by setting the LDAP base for groups to be "ou=groups,dc=..." and same for users "ou=people,dc=..."
@xenorites commented on GitHub (Jul 7, 2025):
Ahh, that looks to have been the problem. My mistake, sorry for the noise. Thanks for the assist!