Create grafana user without password (ldap usage)]

  • What Grafana version and what operating system are you using? .3.3

  • What are you trying to achieve? [Create grafana user without password (ldap usage)]
    or as an alternative, I can create user with correct cn and grafana password and have grafana associate user with team based on ldap groups I see when I do an ldap search using the grafana product under server admin.

  • How are you trying to achieve it? using ldap authentication for user access and then use ldap groups to match to team/folders for access to dashboards

  • What happened? if I specify password; the user comes in, but it is not listed as ldap. I can though search the user via the ldap query

  • What did you expect to happen? login successfully, appear as ldap user (i.e ldap in green box) and then use groups assigned to control access to dashboard

  • Can you copy/paste the configuration(s) that you are having problems with?

enabled = true
config_file = /opt/grafana/conf/ldap.conf
sync_cron = “0 0 1 * * *”
active_async_enabled = true

host = ldap host fqdn
port = 636
use_ssl = true
root_ca_cert = “path to ca + cacert.pem”
client_cert = “path to client + cert.pem”
client_key = “path to key/key.pem”
bind_dn = cn server cert
bind_password = ‘password of server cert’
search_filter = “(cn%s)”
search_base_dns = [“ou=xxx,ou=xxx,ou=xxx,o=xxx”]
name = “givenname”
surname = “sn”
username = “cn”
memberof = “ismemberof”
email = “internalemail”