From 5f24972bb78775814d78c916f988735a03db6fa8 Mon Sep 17 00:00:00 2001 From: Nicolas Boufidjeline Date: Fri, 20 Jul 2018 12:21:47 +0200 Subject: [PATCH] Change default value of AUTH_LDAP_USER_DN_TEMPLATE --- configuration/ldap_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/ldap_config.py b/configuration/ldap_config.py index 51eed08..86442d5 100644 --- a/configuration/ldap_config.py +++ b/configuration/ldap_config.py @@ -16,7 +16,7 @@ AUTH_LDAP_BIND_DN = os.environ.get('AUTH_LDAP_BIND_DN', '') AUTH_LDAP_BIND_PASSWORD = os.environ.get('AUTH_LDAP_BIND_PASSWORD', '') # Set AUTH_LDAP_USER_DN_TEMPLATE -AUTH_LDAP_USER_DN_TEMPLATE = os.environ.get('AUTH_LDAP_USER_DN_TEMPLATE', '') +AUTH_LDAP_USER_DN_TEMPLATE = os.environ.get('AUTH_LDAP_USER_DN_TEMPLATE', None) # Include this setting if you want to ignore certificate errors. This might be needed to accept a self-signed cert. # Note that this is a NetBox-specific setting which sets: