diff --git a/grafana/ldap.toml b/grafana/ldap.toml index 001a651..2885cac 100644 --- a/grafana/ldap.toml +++ b/grafana/ldap.toml @@ -4,7 +4,7 @@ [[servers]] # 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 port = 389 # Set to true if ldap server supports TLS @@ -45,12 +45,18 @@ username = "cn" member_of = "dn" 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]] group_dn = "cn=technicien,ou=posix,ou=groups,dc=auro,dc=re" org_role = "Editor" +# Mapping pour les adhérents [[servers.group_mappings]] # If you want to match all (or no ldap groups) then you can use wildcard group_dn = "*" org_role = "Viewer" -