mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 16:25:55 +03:00
[GH-ISSUE #786] [INTEGRATION] Grafana Integration #283
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#283
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 @kaaax0815 on GitHub (Jan 7, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/786
Describe the bug
Cant login with grafana using lldap as auth source
To Reproduce
Use the Grafana example config
Expected behavior
Should work
Logs
Additional context
Grafana Config
@nitnelave commented on GitHub (Jan 7, 2024):
Hi! It's just a quick diagnosis, I didn't look too deeply, but it seems that you specify that users should be matched by user_id, yet you tried to log in with an email.
You can adjust your user filter to match either uid or mail if you want to be able to login with both
@kaaax0815 commented on GitHub (Feb 12, 2024):
I adjusted the grafana config to
this is the error i get
@nitnelave commented on GitHub (Feb 12, 2024):
That request and response looks correct. From an LDAP point of view, I see nothing wrong here. LLDAP returned your user.
If you still can't log in, you'll have to look into the grafana logs to understand why.
@nitnelave commented on GitHub (Feb 12, 2024):
And btw, you might want a filter that looks like
(&(|(uid=%s)(mail=%s))(memberOf=cn=grafana,...))to match either uid or mail@kaaax0815 commented on GitHub (Apr 18, 2024):
Works now