/[adm]/puppet/modules/postfix/templates/ldap_aliases.conf
ViewVC logotype

Diff of /puppet/modules/postfix/templates/ldap_aliases.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2344 by misc, Mon Jan 23 00:03:45 2012 UTC revision 2345 by misc, Thu Feb 2 18:26:42 2012 UTC
# Line 5  aliases_group.each do |g| Line 5  aliases_group.each do |g|
5      query_string += '(memberOf=cn=' + g + ',ou=Group,' + dc_suffix + ')'      query_string += '(memberOf=cn=' + g + ',ou=Group,' + dc_suffix + ')'
6  end  end
7    
8  ldap_servers.map! { |l| "ldaps://#{l}:636" }  ldap = ldap_servers.map { |l| "ldaps://#{l}:636" }
9  -%>  -%>
10  server_host = <%= ldap_servers.join(' ') %>  server_host = <%= ldap.join(' ') %>
11  search_base = <%= dc_suffix %>  search_base = <%= dc_suffix %>
12  query_filter = (&(uid=%u)(|<%= query_string %>))  query_filter = (&(uid=%u)(|<%= query_string %>))
13  result_attribute = mail  result_attribute = mail

Legend:
Removed from v.2344  
changed lines
  Added in v.2345

  ViewVC Help
Powered by ViewVC 1.1.28