From 37520e36c31ddd570402e32cf7c84a99038a6967 Mon Sep 17 00:00:00 2001 From: jdubois Date: Thu, 24 Jun 2021 16:11:19 +0200 Subject: [PATCH] Authentification LDAP --- HowtoGrafana.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/HowtoGrafana.md b/HowtoGrafana.md index 2776b62b..675e0524 100644 --- a/HowtoGrafana.md +++ b/HowtoGrafana.md @@ -45,6 +45,19 @@ On modifie le fichier de configuration `/etc/grafana/grafana.ini` afin de n'éco http_addr = 127.0.0.1 ~~~ +### Authentification LDAP + +Modifier la configuration `/etc/grafana/grafana.ini` : + +~~~ +[auth.ldap] +enabled = true +config_file = /etc/grafana/ldap.toml +allow_sign_up = true +~~~ + +Puis configurer le fichier `/etc/grafana/ldap.toml` en conséquence. + ### Reverse proxy avec sous dossier Si grafana est dans un sous-dossier de la forme `example.com/grafana/` plutôt que `grafana.example.com`, il faut alors l'indiquer dans la configuration :