From 38ec4a3b00e71d6f91ee512073e8904adb1b27fd Mon Sep 17 00:00:00 2001 From: siju-vasudevan Date: Thu, 9 Sep 2021 10:04:30 +0530 Subject: [PATCH] LDAPSearch Module is missing Since LDAPSearch Module is missing LDAP authentication is not working if you configure the LDAP configuration via extra_settings. --- roles/installer/templates/config.yaml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/installer/templates/config.yaml.j2 b/roles/installer/templates/config.yaml.j2 index fb493311..cc9d7b71 100644 --- a/roles/installer/templates/config.yaml.j2 +++ b/roles/installer/templates/config.yaml.j2 @@ -18,6 +18,7 @@ data: settings: | import os import socket + from django_auth_ldap.config import LDAPSearch def get_secret(): if os.path.exists("/etc/tower/SECRET_KEY"):