From 80826a4300ccff5a6f9b2961a5144bb948ac4af2 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 28 Oct 2016 11:52:44 +0200 Subject: [PATCH] Update ldap-virtual-mailbox-maps.cf.tmpl --- .../templates/ldap-virtual-mailbox-maps.cf.tmpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rootfs/etc/confd/templates/ldap-virtual-mailbox-maps.cf.tmpl b/rootfs/etc/confd/templates/ldap-virtual-mailbox-maps.cf.tmpl index 3b38fb3..6027a0e 100644 --- a/rootfs/etc/confd/templates/ldap-virtual-mailbox-maps.cf.tmpl +++ b/rootfs/etc/confd/templates/ldap-virtual-mailbox-maps.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 "LDAPMAILBOXSEARCHBASE"}} +bind_dn = {{getenv "LDAP_BIND_DN"}} +bind_pw = {{getenv "LDAP_BIND_PASSWORD"}} +search_base = {{getenv "LDAP_MAILBOX_SEARCH_BASE"}} version = 3 -query_filter = {{getenv "LDAPMAILBOXQUERYFILTER"}} -result_attribute = {{getenv "LDAPMAILBOXRESULTATTRIBUTE"}} +query_filter = {{getenv "LDAP_MAILBOX_QUERY_FILTER"}} +result_attribute = {{getenv "LDAP_MAILBOX_RESULT_ATTRIBUTE" "cn"}}