fix: explicitly import ldap on config file

File "/etc/tower/conf.d/ldap.py", line 2, in <module>
ldap.OPT_X_TLS_REQUIRE_CERT: True,
^^^^
NameError: name 'ldap' is not defined
This commit is contained in:
Bruno Rocha
2025-05-09 17:42:41 +01:00
committed by Dimitri Savineau
parent 54072d6a46
commit f967c7d341

View File

@@ -1,3 +1,5 @@
import ldap
AUTH_LDAP_GLOBAL_OPTIONS = {
{% if ldap_cacert_ca_crt %}
ldap.OPT_X_TLS_REQUIRE_CERT: True,