dovecot/rootfs/etc/confd/templates/dovecot-ldap.conf.ext.tmpl
2016-10-28 09:06:42 +02:00

12 lines
500 B
Cheetah

uris = {{getenv "LDAP_URI"}}
dn = {{getenv "LDAP_BIND_DN"}}
dnpass = {{getenv "LDAP_BIND_PASSWORD"}}
tls = {{getenv "LDAP_USE_TLS" "yes"}}
auth_bind = no
base = {{getenv "LDAP_BASE_DN"}}
scope = {{getenv "LDAP_SCOPE" "subtree"}}
user_filter = {{getenv "LDAP_USER_FILTER"}}
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" "SSHA"}}