diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2010-11-10 17:21:43 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2010-11-10 17:21:43 +0000 |
commit | 67a2c0cc5f27d3eae8dd83a5c21acbcc3a2e85c0 (patch) | |
tree | 8771b7d5269b6ae69ab8a033c999e01db3648c70 /modules/sympa/templates | |
parent | 8e34d9535ccaabc25871a1e6be9b089248d26396 (diff) | |
download | puppet-67a2c0cc5f27d3eae8dd83a5c21acbcc3a2e85c0.tar puppet-67a2c0cc5f27d3eae8dd83a5c21acbcc3a2e85c0.tar.gz puppet-67a2c0cc5f27d3eae8dd83a5c21acbcc3a2e85c0.tar.bz2 puppet-67a2c0cc5f27d3eae8dd83a5c21acbcc3a2e85c0.tar.xz puppet-67a2c0cc5f27d3eae8dd83a5c21acbcc3a2e85c0.zip |
continue sympa config.
ldap_alias_entry.tt2 need to be fixed when the mail server will be ON.
Diffstat (limited to 'modules/sympa/templates')
-rw-r--r-- | modules/sympa/templates/auth.conf | 13 | ||||
-rw-r--r-- | modules/sympa/templates/ldap_alias_entry.tt2 | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/modules/sympa/templates/auth.conf b/modules/sympa/templates/auth.conf new file mode 100644 index 00000000..d6882a47 --- /dev/null +++ b/modules/sympa/templates/auth.conf @@ -0,0 +1,13 @@ +ldap + host ldap.mageia.org:389 + timeout 30 + suffix dc=mageia,dc=org + get_dn_by_uid_filter (uid=[sender]) + get_dn_by_email (|(mail=[sender])(mailalternateaddress=[sender])) + email_attribute mail + scope sub + + +user_table + regexp .* + diff --git a/modules/sympa/templates/ldap_alias_entry.tt2 b/modules/sympa/templates/ldap_alias_entry.tt2 new file mode 100644 index 00000000..31a5c470 --- /dev/null +++ b/modules/sympa/templates/ldap_alias_entry.tt2 @@ -0,0 +1,11 @@ +dn: cn=[% list.alias %],cn=[% list.domain %],[% ldap_base_dn %] +objectClass: top +objectClass: mailAlias +objectClass: mailRecipient +cn: [% list.alias %] +mail: [% list.alias %]@[% list.domain %] +mailTransportMode: [% list.command %] +mailAccountStatus: active +mailHost: mail1.example.com + +# vim: ft=ldif |