Initial work on ldap support, #1450

This commit is contained in:
Torkel Ödegaard
2015-06-04 09:34:42 +02:00
parent 2c7d33cdfa
commit eb793f7feb
8 changed files with 204 additions and 14 deletions

View File

@@ -174,6 +174,18 @@ header_name = X-WEBAUTH-USER
header_property = username
auto_sign_up = true
#################################### Auth LDAP ##########################
[auth.ldap]
enabled = true
hosts = ldap://localhost.com:389
use_ssl = false
base_dn = dc=grafana,dc=org
bind_path = cn=%username%,dc=grafana,dc=org
attr_username = cn
attr_name = cn
attr_surname = sn
attr_email = email
#################################### Logging ##########################
[log]
# Either "console", "file", default is "console"