diff options
author | Michael Scherer <misc@mageia.org> | 2011-03-08 14:50:43 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-03-08 14:50:43 +0000 |
commit | ff81c47444e3819c2b97b43891ac11cb14b14d1b (patch) | |
tree | 309102c74a7ad4470f3d2828ec5a5c526e467205 /modules/postfix/templates/ldap_aliases.conf | |
parent | b742dd6085809b2931e2909a11c3d6040cc83891 (diff) | |
download | puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.tar puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.tar.gz puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.tar.bz2 puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.tar.xz puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.zip |
- first prototype of ldap aliases
Diffstat (limited to 'modules/postfix/templates/ldap_aliases.conf')
-rw-r--r-- | modules/postfix/templates/ldap_aliases.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/postfix/templates/ldap_aliases.conf b/modules/postfix/templates/ldap_aliases.conf new file mode 100644 index 00000000..e249b8ee --- /dev/null +++ b/modules/postfix/templates/ldap_aliases.conf @@ -0,0 +1,11 @@ +<% +# TODO add some code to take a array of group where people +# have the aliasing +%> +server_host = ldaps://ldap.<%= domain %>:636 +search_base = <%= dc_suffix %> +query_filter = (&(uid=%u)(memberOf=cn=mga-founders,ou=Group,<%= dc_suffix %>)) +result_attribute = mail +bind = yes +bind_dn = cn=postfix-alamut,ou=System Accounts,<%= dc_suffix %> +bind_pw = <%= ldap_password %> |