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

8 lines
319 B
Cheetah

uris = {{getenv "LDAP_URI"}}
tls = {{getenv "LDAP_USE_TLS" "yes"}}
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"}}