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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1346 - (show annotations) (download)
Tue Mar 22 15:17:56 2011 UTC (13 years, 1 month ago) by misc
File size: 586 byte(s)
- use a virtual domain rather than a regular one, as this
prevent to limit aliases on the main domain ( ie, we want to avoid
potential interferences with subdomain like ml )
1 <%-
2 # TODO I am sure that a more elegant way could be find
3 query_string = ''
4 aliases_group.each do |g|
5 query_string += '(memberOf=cn=' + g + ',ou=Group,' + dc_suffix + ')'
6 end
7 -%>
8 server_host = ldaps://ldap.<%= domain %>:636
9 search_base = <%= dc_suffix %>
10 query_filter = (&(uid=%u)(|<%= query_string %>))
11 result_attribute = mail
12 bind = yes
13 bind_dn = cn=postfix-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
14 bind_pw = <%= ldap_password %>
15 # postfix complain on url
16 # warning: dict_ldap_open: URL scheme ldaps requires protocol version 3
17 version = 3
18 domain = <%= domain %>

  ViewVC Help
Powered by ViewVC 1.1.30