Changes between Version 2 and Version 3 of CookBook/Configuration/MailmanAuth
- Timestamp:
- Mar 20, 2016, 1:34:45 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBook/Configuration/MailmanAuth
v2 v3 1 = How to use Mailman as a source of authentication =1 = How to use Mailman as a source of authentication 2 2 3 Kudos to Christopher Gabriel for his original idea: 4 http://www.cgabriel.org/2009/09/21/ldap-e-la-disperazione/ 3 Kudos to Christopher Gabriel for his [http://www.cgabriel.org/2009/09/21/ldap-e-la-disperazione/ original idea]. 5 4 6 Mailman can be used as a source of authentication for Trac. This is super handy, as it allows to have a single signon between the two.5 [https://www.gnu.org/software/mailman/ Mailman] can be used as a source of authentication for Trac. This is super handy, as it allows to have a single sign-on between the two. This page describes how to set this up. 7 6 8 Here is how it works: 7 First, please install mod_macro and mod_python, and add `www-data` to the group `list`. 9 8 10 An Apache macro (please install mod_macro and mod_python, and add `www-data` to the group `list`) 9 An Apache macro needs to be defined as follows: 10 11 11 {{{#!apache 12 12 <Macro PrivateProjectMailman $name $list> … … 32 32 require valid-user 33 33 </Location> 34 35 34 </Macro> 36 35 … … 60 59 require valid-user 61 60 </Location> 62 63 61 </Macro> 64 62 }}} 65 63 66 Then, in the relative !VirtualHost 64 Then, in the relative !VirtualHost add the following: 67 65 {{{#!apache 68 66 Use PrivateProjectMailman progetto-x lista-progetto-x 69 67 }}} 70 or 68 69 or: 71 70 {{{#!apache 72 71 Use PublicProjectMailman progetto-x lista-progetto-x