summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000489.html
blob: 4c2947675a9bc3da35dfdcb0797b35cd1ed5d192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [239] continue sympa config.
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B239%5D%20continue%20sympa%20config.&In-Reply-To=%3C20101110172143.901163F908%40valstar.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000484.html">
   <LINK REL="Next"  HREF="000494.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [239] continue sympa config.</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B239%5D%20continue%20sympa%20config.&In-Reply-To=%3C20101110172143.901163F908%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [239] continue sympa config.">root at mageia.org
       </A><BR>
    <I>Wed Nov 10 18:21:43 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="000484.html">[Mageia-sysadm] [238] Fix php-mysql
</A></li>
        <LI>Next message: <A HREF="000494.html">[Mageia-sysadm] [240] Change transifex password
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#489">[ date ]</a>
              <a href="thread.html#489">[ thread ]</a>
              <a href="subject.html#489">[ subject ]</a>
              <a href="author.html#489">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Revision: 239
Author:   dmorgan
Date:     2010-11-10 18:21:43 +0100 (Wed, 10 Nov 2010)
Log Message:
-----------
continue sympa config.

ldap_alias_entry.tt2 need to be fixed when the mail server will be ON.

Modified Paths:
--------------
    puppet/modules/sympa/manifests/init.pp

Added Paths:
-----------
    puppet/modules/sympa/templates/auth.conf
    puppet/modules/sympa/templates/ldap_alias_entry.tt2

Modified: puppet/modules/sympa/manifests/init.pp
===================================================================
--- puppet/modules/sympa/manifests/init.pp	2010-11-10 16:05:35 UTC (rev 238)
+++ puppet/modules/sympa/manifests/init.pp	2010-11-10 17:21:43 UTC (rev 239)
@@ -24,5 +24,21 @@
         mode =&gt; 644,
         content =&gt; template(&quot;sympa/ldap_alias_manager.conf&quot;)
     }
+
+    file { '/etc/sympa/auth.conf':
+        ensure =&gt; present,
+        owner =&gt; root,
+        group =&gt; root,
+        mode =&gt; 644,
+        content =&gt; template(&quot;sympa/auth.conf&quot;)
+    }
+
+    file { '/etc/sympa/ldap_alias_entry.tt2':
+        ensure =&gt; present,
+        owner =&gt; root,
+        group =&gt; root,
+        mode =&gt; 644,
+        content =&gt; template(&quot;sympa/ldap_alias_entry.tt2&quot;)
+    }
 }
 

Added: puppet/modules/sympa/templates/auth.conf
===================================================================
--- puppet/modules/sympa/templates/auth.conf	                        (rev 0)
+++ puppet/modules/sympa/templates/auth.conf	2010-11-10 17:21:43 UTC (rev 239)
@@ -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                 .*
+

Added: puppet/modules/sympa/templates/ldap_alias_entry.tt2
===================================================================
--- puppet/modules/sympa/templates/ldap_alias_entry.tt2	                        (rev 0)
+++ puppet/modules/sympa/templates/ldap_alias_entry.tt2	2010-11-10 17:21:43 UTC (rev 239)
@@ -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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-sysadm/attachments/20101110/bb5ae506/attachment.html&gt;
</PRE>













<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000484.html">[Mageia-sysadm] [238] Fix php-mysql
</A></li>
	<LI>Next message: <A HREF="000494.html">[Mageia-sysadm] [240] Change transifex password
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#489">[ date ]</a>
              <a href="thread.html#489">[ thread ]</a>
              <a href="subject.html#489">[ subject ]</a>
              <a href="author.html#489">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>