change grafana ldap
This commit is contained in:
parent
9296314a1b
commit
9f48ac2f3c
1 changed files with 7 additions and 1 deletions
|
|
@ -20,6 +20,12 @@ let
|
||||||
surname = "sn"
|
surname = "sn"
|
||||||
username = "uid"
|
username = "uid"
|
||||||
email = "mail"
|
email = "mail"
|
||||||
|
member_of = "memberOf"
|
||||||
|
|
||||||
|
[[servers.group_mappings]]
|
||||||
|
group_dn = "cn=Administrators,ou=groups,dc=cloonar,dc=com"
|
||||||
|
org_role = "Admin"
|
||||||
|
grafana_admin = true # Available in Grafana v5.3 and above
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
@ -32,7 +38,7 @@ in
|
||||||
"auth.ldap".config_file = toString ldap;
|
"auth.ldap".config_file = toString ldap;
|
||||||
|
|
||||||
"auth.anonymous".enabled = true;
|
"auth.anonymous".enabled = true;
|
||||||
"auth.anonymous".org_name = "Main Org.";
|
"auth.anonymous".org_name = "Cloonar e.U.";
|
||||||
"auth.anonymous".org_role = "Viewer";
|
"auth.anonymous".org_role = "Viewer";
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue