mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-28 19:03:43 +01:00
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER defaults to false
This commit is contained in:
parent
5ff292ba5f
commit
7f285af7b4
@ -31,7 +31,7 @@ AUTH_LDAP_CONNECTION_OPTIONS = {
|
|||||||
ldap.OPT_REFERRALS: 0
|
ldap.OPT_REFERRALS: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER = environ.get('AUTH_LDAP_BIND_AS_AUTHENTICATING_USER', 'True').lower() == 'true'
|
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER = environ.get('AUTH_LDAP_BIND_AS_AUTHENTICATING_USER', 'False').lower() == 'true'
|
||||||
|
|
||||||
# Set the DN and password for the NetBox service account if needed.
|
# Set the DN and password for the NetBox service account if needed.
|
||||||
if not AUTH_LDAP_BIND_AS_AUTHENTICATING_USER:
|
if not AUTH_LDAP_BIND_AS_AUTHENTICATING_USER:
|
||||||
|
Loading…
Reference in New Issue
Block a user