mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #103] Clean up groups request to use filters #41
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#41
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 @nitnelave on GitHub (Dec 2, 2021).
Original GitHub issue: https://github.com/lldap/lldap/issues/103
Rather than rely on ad-hoc code to delegate to list_groups, list_user's_groups and so on.
@lowinger42 commented on GitHub (Jan 23, 2022):
I have tried to activate Librenms LDAP support against lldap.
The user bind is successful, then Librenms tries to verify group membership to grant permissions (admin, global_read, normal).
There are three ways to "find group members by"
None of these works. Debug log when using Username:
lldap_1 | 2022-01-23T22:39:26.440636Z DEBUG lldap::infra::ldap_handler: Received search request: LdapSearchRequest { base: "ou=groups,dc=int,dc=abundo,dc=se", scope: Subtree, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: And([Equality("cn", "librenms_admin"), Equality("uniqueMember", "")]), attrs: [] }
lldap_1 | 2022-01-23T22:39:26.441122Z DEBUG lldap::infra::ldap_server: Replying with LDAP op: SearchResultDone(LdapResult { code: UnwillingToPerform, matcheddn: "", message: "Unsupported group filter: Unsupported group filter: Equality("cn", "librenms_admin")", referral: [] })
@nitnelave commented on GitHub (Feb 12, 2022):
@lowinger42 can you try getting Librenms to work with the latest docker image?