From 47701f5f1d7e26095f06203489c98747d36e281e Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 8 Mar 2011 15:41:28 +0000 Subject: - do not hardcode server name --- modules/postfix/templates/ldap_aliases.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/postfix/templates/ldap_aliases.conf b/modules/postfix/templates/ldap_aliases.conf index 8bca9017..c149436a 100644 --- a/modules/postfix/templates/ldap_aliases.conf +++ b/modules/postfix/templates/ldap_aliases.conf @@ -10,5 +10,5 @@ search_base = <%= dc_suffix %> query_filter = (&(uid=%u)(|<%= query_string %>)) result_attribute = mail bind = yes -bind_dn = cn=postfix-alamut,ou=System Accounts,<%= dc_suffix %> +bind_dn = cn=postfix-<%= hostname %>,ou=System Accounts,<%= dc_suffix %> bind_pw = <%= ldap_password %> -- cgit v1.2.1