https://github.com/lldap/lldap logo
Hi, I have trouble connecting to grafana using lld...
# troubleshooting
j
Hi, I have trouble connecting to grafana using lldap I keep getting the "Invalid username or password" on the UI and I can't find any infos in the logs (even in debug). I configured Grafana using the exemple here: https://github.com/nitnelave/lldap/blob/main/example_configs/grafana_ldap_config.toml) I'm using grafana latest and lldap stable (pulled today) When I try to search my LLDAP it work fine, but for a reason Grafana in unhappy with my config grafana_ldap.toml
Copy code
[[servers]]
# Ldap server host (specify multiple hosts space separated)
host = "xxxxx.xxxxxxxxxxxxx.xx"
# Default port is 389 or 636 if use_ssl = true
port = 3890
# Set to true if LDAP server should use an encrypted TLS connection (either with STARTTLS or LDAPS)
use_ssl = false
# If set to true, use LDAP with STARTTLS instead of LDAPS
start_tls = false
# set to true if you want to skip SSL cert validation
ssl_skip_verify = false

# Search user bind dn
bind_dn = "cn=admin,ou=people,dc=xxxxxxxxxxxxx,dc=xx"
# Search user bind password
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
bind_password = "xxxxxxxxxxxxxxx"

# User search filter
search_filter = "(uid=%s)"

# An array of base dns to search through
search_base_dns = ["dc=xxxxxxxxxxxxx,dc=xx"]

# Specify names of the LDAP attributes your LDAP uses
[servers.attributes]
member_of = "memberOf"
email = "mail"
name = "givenName"
surname = "sn"
username = "uid"
Do anyone have an idea ?