The Doctor What wrote:
>
>Is there a way to have apache2 Auth* directives query username and
>password from mailman?
>
>I was imagining something like:
>
><Location /foo>
>   AuthType Basic
>   AuthName "Some service"
>   AuthMailManList FooList
>   require valid-user
></Location>


I doubt it is that simple, but I don't know very much about Apache.

>  but
>  mailman *has* all this code and the database of users is nearly
>  the same, if not the same.  So why write duplicate code to
>  duplicate the data!

The MailList object has an attribute 'passwords' which is a dictionary
with member's e-mail address as key and plain text password as data,
or given any membership database, the MemberAdaptor has a
getMemberPassword(member) method which returns the password for member.

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to