Add direct bind option for LDAP authentication

This commit is contained in:
Morgan Kesler 2019-11-05 11:59:36 +01:00 committed by Eliot Berriot
parent 147af7bce3
commit 77ff3c2ff2
2 changed files with 4 additions and 0 deletions

View file

@ -460,6 +460,9 @@ if AUTH_LDAP_ENABLED:
"%(user)s"
)
AUTH_LDAP_START_TLS = env.bool("LDAP_START_TLS", default=False)
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER = env(
"AUTH_LDAP_BIND_AS_AUTHENTICATING_USER", default=False
)
DEFAULT_USER_ATTR_MAP = [
"first_name:givenName",