dovecot/rootfs/etc/confd/templates/dovecot-ldap.conf.ext.tmpl

10 lines
391 B
Cheetah
Raw Normal View History

2016-10-28 07:06:42 +00:00
uris = {{getenv "LDAP_URI"}}
2017-09-22 16:35:52 +00:00
dn = {{getenv "LDAP_BIND_DN"}}
dnpass = {{getenv "LDAP_BIND_PASSWORD"}}
2016-10-28 07:06:42 +00:00
tls = {{getenv "LDAP_USE_TLS" "yes"}}
2017-09-22 16:26:49 +00:00
auth_bind = yes
2016-10-28 07:06:42 +00:00
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"}}