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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] Email change replication between identity and sympa
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Email%20change%20replication%20between%20identity%20and%0A%09sympa&In-Reply-To=%3C3093062.Cs6olZ1SUP%40tiger.ranger.dnsalias.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004745.html">
<LINK REL="Next" HREF="004744.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] Email change replication between identity and sympa</H1>
<B>Buchan Milne</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Email%20change%20replication%20between%20identity%20and%0A%09sympa&In-Reply-To=%3C3093062.Cs6olZ1SUP%40tiger.ranger.dnsalias.com%3E"
TITLE="[Mageia-sysadm] Email change replication between identity and sympa">bgmilne at zarb.org
</A><BR>
<I>Tue Sep 25 21:39:20 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="004745.html">[Mageia-sysadm] Email change replication between identity and sympa
</A></li>
<LI>Next message: <A HREF="004744.html">[Mageia-sysadm] Email change replication between identity and sympa
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4763">[ date ]</a>
<a href="thread.html#4763">[ thread ]</a>
<a href="subject.html#4763">[ subject ]</a>
<a href="author.html#4763">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please try and quote properly ...
On Thursday, 20 September 2012 00:07:10 Joerg Stephan wrote:
><i> Well i found a plugin page <A HREF="http://www.sympa.org/manual/ldap">http://www.sympa.org/manual/ldap</A> or manual to do
</I>><i> it with ldap and if you access the puppet repository
</I>><i>
</I>><i>
</I>><i> svn co <A HREF="svn://svn.mageia.org/svn/adm/puppet/">svn://svn.mageia.org/svn/adm/puppet/</A>
</I>><i>
</I>><i>
</I>><i> you will find an puppet/modules/sympa/templates/auth.conf which does the
</I>><i> ldap binding for auth in addition to that
</I>><i>
</I>><i>
</I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at x0</A> templates]# grep -ir ldap *
</I>><i> auth.conf:ldap
</I>><i> auth.conf: host ldap.<%= domain %>
</I>><i> auth.conf: bind_password <%= ldap_password %>
</I>><i> config:<% if subscriber_ldap_group and not subscription_open %>
</I>><i> config:<% elsif sender_ldap_group %>
</I>><i> config:send restricted_<%= sender_ldap_group %>
</I>><i> config:<% if subscriber_ldap_group %>
</I>><i> config:include_ldap_query
</I>><i> config: host ldap.<%= domain %>
</I>><i> config: filter (memberOf=cn=<%= subscriber_ldap_group %>,ou=Group,<%=
</I>><i> dc_suffix %>) config: passwd <%= ldap_password %>
</I>><i> data_sources/ldap_group.incl:include_ldap_2level_query
</I>><i> data_sources/ldap_group.incl: host ldap.<%= domain %>
</I>><i> data_sources/ldap_group.incl: passwd <%= ldap_password %>
</I>><i> scenari/sender.ldap_group:search(<%= name %>.ldap) smtp,md5,smime -> do_it
</I>><i> search_filters/group.ldap:host ldap.<%= domain %>:636
</I>><i> search_filters/group.ldap:bind_password <%= ldap_password %>
</I>><i>
</I>><i>
</I>><i> so ldap is used at some spots in the config, currently i dont know the ldap
</I>><i> design, or what identity sets on its site
</I>
The DIT layout is mostly the openldap-mandriva-dit one, we should probably
actually import this package as a mageia package. See more info here:
<A HREF="http://wiki.mandriva.com/en/Projects/OpenLDAP_DIT">http://wiki.mandriva.com/en/Projects/OpenLDAP_DIT</A>
><i>
</I>><i>
</I>><i> From: Ross Wilson <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">ross.wilson at mail.com</A>>
</I>><i> To: Mageia Sysadmin discussions <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">mageia-sysadm at mageia.org</A>>
</I>><i> Sent: Thursday, September 20, 2012 8:56 AM
</I>><i> Subject: Re: [Mageia-sysadm] Email change replication between identity and
</I>><i> sympa
</I>><i>
</I>><i>
</I>><i>
</I>><i> As far as I can see Sympa doesn't have a 'standard database'; it uses an
</I>><i> RDBMS like Postgres, MySQL etc, or am I missing something?
</I>><i>
</I>
'standard sympa database' means, the standard sympa database schema running on
a supported RDBMS database.
><i>
</I>><i>
</I>><i> ----- Original Message -----
</I>><i> From: nicolas vigier
</I>><i> Sent: 09/20/12 12:57 AM
</I>><i> To: Mageia Sysadmin discussions
</I>><i> Subject: Re: [Mageia-sysadm] Email change replication between identity and
</I>><i> sympa>
</I>><i> On Wed, 19 Sep 2012, Ross Wilson wrote:
</I>><i> > Hi,
</I>><i> >
</I>><i> > I recently came across this:
</I>><i> > However there are many areas where it's possible to help without having
</I>><i> > root access. For instance :
</I>><i> > - we need to find a solution so that email changed on
</I>><i> >
</I>><i> > identity.mageia.org is automatically changed on sympa mailing lists.
</I>><i> > This require making some changes to identity and/or sympa.
</I>
You can:
-run identity on your own PC/VM/whatever
-make any changes to identity or other tools and submit a patch
without requring *any* access.
I did all identity development on my own laptop, other contributors (Michael
Scherer, Maarten Vanraes, others) have done their development on non-project
environments.
><i> > Has this issue been resolved? If not, I feel I may be able to resolve it;
</I>><i> > it would most likely require some level of> >
</I>><i> > access to the databases holding the email information, but I feel it
</I>><i> > would be pretty> >
</I>><i> > trivial to setup some sort of trigger which will update sympa if
</I>><i> > identity.mageia.org> >
</I>><i> > is updated (and vice versa?).
</I>
There is no database with "triggers" (per se) behind identity, and we should
avoid allowing any changes from any non-LDAP-aware tools.
Please, please, please, read my response in this mail, and read the
LDAP/identity portions until you understand them, or ask questions
specifically about the options here, or we are all wasting time.
I have started cleaning up some current perl syncrepl code to provide as a
starting point, but it requires at least another 30 minutes, so either I send
this mail now, or it will wait in draft for a week or more.
><i> See
</I>><i> <A HREF="http://www.mageia.org/pipermail/mageia-sysadm/2012-September/004717.html">http://www.mageia.org/pipermail/mageia-sysadm/2012-September/004717.html</A>
</I>><i>
</I>><i> > To this end, I have submitted an account request in bugzilla.
</I>><i>
</I>><i> You don't need an account to develop an ldap trigger or identity plugin.
</I>><i>
</I>><i> Identity sources are available on svn :
</I>><i> <A HREF="http://svnweb.mageia.org/soft/identity/CatDap/trunk/">http://svnweb.mageia.org/soft/identity/CatDap/trunk/</A>
</I>><i>
</I>><i> And database is standard sympa database.
</I>
Regards,
Buchan
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004745.html">[Mageia-sysadm] Email change replication between identity and sympa
</A></li>
<LI>Next message: <A HREF="004744.html">[Mageia-sysadm] Email change replication between identity and sympa
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4763">[ date ]</a>
<a href="thread.html#4763">[ thread ]</a>
<a href="subject.html#4763">[ subject ]</a>
<a href="author.html#4763">[ 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>
|