[Grafana] Fix mapping and LDAP failover
This commit is contained in:
parent
4bbfed9d2c
commit
3dfbae2119
1 changed files with 8 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
[[servers]]
|
[[servers]]
|
||||||
# Ldap server host (specify multiple hosts space separated)
|
# Ldap server host (specify multiple hosts space separated)
|
||||||
host = "10.128.0.11"
|
host = "re2o-ldap.adm.auro.re ldap-replica-ovh.adm.auro.re 10.128.0.21 10.128.0.149"
|
||||||
# Default port is 389 or 636 if use_ssl = true
|
# Default port is 389 or 636 if use_ssl = true
|
||||||
port = 389
|
port = 389
|
||||||
# Set to true if ldap server supports TLS
|
# Set to true if ldap server supports TLS
|
||||||
|
@ -45,12 +45,18 @@ username = "cn"
|
||||||
member_of = "dn"
|
member_of = "dn"
|
||||||
email = "mail"
|
email = "mail"
|
||||||
|
|
||||||
|
# Mapping pour les Responsables Techniques
|
||||||
|
[[servers.group_mappings]]
|
||||||
|
group_dn = "cn=sudoldap,ou=posix,ou=groups,dc=auro,dc=re"
|
||||||
|
org_role = "Admin"
|
||||||
|
|
||||||
|
# Mapping pour les techniciens (Apprentis)
|
||||||
[[servers.group_mappings]]
|
[[servers.group_mappings]]
|
||||||
group_dn = "cn=technicien,ou=posix,ou=groups,dc=auro,dc=re"
|
group_dn = "cn=technicien,ou=posix,ou=groups,dc=auro,dc=re"
|
||||||
org_role = "Editor"
|
org_role = "Editor"
|
||||||
|
|
||||||
|
# Mapping pour les adhérents
|
||||||
[[servers.group_mappings]]
|
[[servers.group_mappings]]
|
||||||
# If you want to match all (or no ldap groups) then you can use wildcard
|
# If you want to match all (or no ldap groups) then you can use wildcard
|
||||||
group_dn = "*"
|
group_dn = "*"
|
||||||
org_role = "Viewer"
|
org_role = "Viewer"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue