diff options
author | Michael Scherer <misc@mageia.org> | 2011-05-29 22:57:54 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-05-29 22:57:54 +0000 |
commit | 6fe10d47c7620004496d7275facddefbc825e56d (patch) | |
tree | a8ebc05c9d5a318fe38ec42bafac51ebdd897b1e /modules/postfix | |
parent | b8096cb62774bdc1ca12f03d9d026400e445fe6f (diff) | |
download | puppet-6fe10d47c7620004496d7275facddefbc825e56d.tar puppet-6fe10d47c7620004496d7275facddefbc825e56d.tar.gz puppet-6fe10d47c7620004496d7275facddefbc825e56d.tar.bz2 puppet-6fe10d47c7620004496d7275facddefbc825e56d.tar.xz puppet-6fe10d47c7620004496d7275facddefbc825e56d.zip |
add redundancy for postfix ldap connexion
Diffstat (limited to 'modules/postfix')
-rw-r--r-- | modules/postfix/templates/ldap_aliases.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/postfix/templates/ldap_aliases.conf b/modules/postfix/templates/ldap_aliases.conf index 81c86702..459ed0ec 100644 --- a/modules/postfix/templates/ldap_aliases.conf +++ b/modules/postfix/templates/ldap_aliases.conf @@ -5,7 +5,7 @@ aliases_group.each do |g| query_string += '(memberOf=cn=' + g + ',ou=Group,' + dc_suffix + ')' end -%> -server_host = ldaps://ldap.<%= domain %>:636 +server_host = ldaps://ldap.<%= domain %>:636 ldaps://ldap-slave-1.<%= domain %>:636 search_base = <%= dc_suffix %> query_filter = (&(uid=%u)(|<%= query_string %>)) result_attribute = mail |