From f2e9f26e5220220b6ff86ee3a0670bcd118146c2 Mon Sep 17 00:00:00 2001 From: Bram Date: Thu, 7 May 2020 21:53:38 +0200 Subject: [PATCH] Update moulinette/authenticators/ldap.py Co-authored-by: Alexandre Aubin --- moulinette/authenticators/ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulinette/authenticators/ldap.py b/moulinette/authenticators/ldap.py index 75554a8c..992858c9 100644 --- a/moulinette/authenticators/ldap.py +++ b/moulinette/authenticators/ldap.py @@ -92,7 +92,7 @@ class Authenticator(BaseAuthenticator): raise MoulinetteError("invalid_password") except ldap.SERVER_DOWN: # ldap is down, attempt to restart it before really failing - logger.warning(m18n.g("ldap_server_down")) + logger.warning(m18n.g("ldap_server_is_down_restart_it")) os.system("systemctl restart slapd") time.sleep(10) # waits 10 secondes so we are sure that slapd has restarted