diff --git a/rootfs/etc/confd/templates/ldap-virtual-mailbox-domains.cf.tmpl b/rootfs/etc/confd/templates/ldap-virtual-mailbox-domains.cf.tmpl index e53834f..53060fe 100644 --- a/rootfs/etc/confd/templates/ldap-virtual-mailbox-domains.cf.tmpl +++ b/rootfs/etc/confd/templates/ldap-virtual-mailbox-domains.cf.tmpl @@ -1,9 +1,9 @@ -server_host = {{getenv "LDAPURI"}} -start_tls = {{getenv "LDAPSTARTTLS"}} +server_host = {{getenv "LDAP_URI"}} +start_tls = {{getenv "LDAP_STARTTLS" "yes"}} bind = yes -bind_dn = {{getenv "LDAPBINDDN" }} -bind_pw = {{getenv "LDAPBINDPASSWORD"}} -search_base = {{getenv "LDAPDOMAINSEARCHBASE"}} +bind_dn = {{getenv "LDAP_BIND_DN" }} +bind_pw = {{getenv "LDAP_BIND_PASSWORD"}} +search_base = {{getenv "LDAP_DOMAIN_SEARCH_BASE"}} version = 3 -query_filter = {{getenv "LDAPDOMAINQUERYFILTER"}} -result_attribute = {{getenv "LDAPDOMAINRESULTATTRIBUTE"}} +query_filter = {{getenv "LDAP_DOMAIN_QUERY_FILTER"}} +result_attribute = {{getenv "LDAP_DOMAIN_RESULT_ATTRIBUTE" "dc"}}