mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #989] [BUG] userFilter with memberOf capital Group not found. #357
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#357
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 @veenarm on GitHub (Oct 8, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/989
Describe the bug
When using userFiltering with memberOf - only seems to work if group memberships are all lowercase in
lldap. If they have capitals won't match the user filtering.To Reproduce
Steps to reproduce the behavior:
GITLAB-Users'(&(objectclass=inetOrgPerson)(memberof=cn=GITLAB-Users,ou=groups,dc=lldap,dc=changed,dc=com,dc=au))'userFilter will fail to match and find users successfully.
Expected behavior
All users of that membership group to be found/matched and returned in the query.
Logs
Additional context
Recreated
Groupin LLDAP lowercase, and itfoundthe group, even with uppercase data passed into the filter. Seems like some lowercasing is happening inside the query.@bojidar-bg commented on GitHub (Oct 8, 2024):
Potential duplicate of #849. What version are you running? (:
@veenarm commented on GitHub (Oct 9, 2024):
Ahh... What ever TrueCharts was.. looks liek it is :
I will verify tonight when I get home - I just took that from the TrueCharts website, and I do auto updates, but maybe its old.
@veenarm commented on GitHub (Oct 9, 2024):
ok, confirmed I'm running:
docker.io/nitnelave/lldap:v0.5.0-debian@sha256:872610a32c9c2bc1392fbd934fa5a355d70b467b92032637ea017c5717c2f1bf@bojidar-bg commented on GitHub (Oct 9, 2024):
Yeahh... that's definitely older than the fix. You can either work around the issue by only having all-lowercase groups/users, switch to a newer version (e.g. anything newer than
2024-02-27should be new enough), or wait for #790.@veenarm commented on GitHub (Oct 10, 2024):
I've upgraded to a later version, i'll re-test it this weekend.