use auth bind for passdb

This commit is contained in:
Sebastian Hugentobler 2017-09-22 18:26:49 +02:00
parent a57bcd1b35
commit 2acef539b1

View File

@ -1,10 +1,7 @@
uris = {{getenv "LDAP_URI"}}
dn = {{getenv "LDAP_BIND_DN"}}
dnpass = {{getenv "LDAP_BIND_PASSWORD"}}
tls = {{getenv "LDAP_USE_TLS" "yes"}}
auth_bind = no
auth_bind = yes
base = {{getenv "LDAP_BASE_DN"}}
scope = {{getenv "LDAP_SCOPE" "subtree"}}
pass_attrs = {{getenv "LDAP_USER_ATTRIBUTE" "cn"}}=user,{{getenv "LDAP_PASSWORD_ATTRIBUTE" "userPassword"}}=password
pass_filter = {{getenv "LDAP_PASS_FILTER"}}
default_pass_scheme = {{getenv "LDAP_DEFAULT_PASSSCHEME" "PBKDF2"}}