Tim Ferguson wrote:

>I've just set up our first Mailman and when trying to create a new mailing 
>list, other than the initial list, I'm receiving the message: Error: You are 
>not authorized to create new mailing lists
>I'm stumped as the only password I've entered so far is the site 
>administrator's password.  Any ideas or suggestions would be greatly 
>appreciated.


There have been reports like this before, but I'm not sure what the
issue is.

If the password has leading or trailing whitespace, it won't work
because leading and trailing whitespace is stripped from the provided
password before validation.

If that isn't the issue, the web browser or web server must be munging
the CGI data somehow.

As a diagnostic measure, you could find the lines:

    if not ok:
        request_creation(
            doc, cgidata,
            _('You are not authorized to create new mailing lists'))
        return

in Mailman/Cgi/create.py and change the 4th line so they become
something like

    if not ok:
        request_creation(
            doc, cgidata,
            _('Bad password ->%(auth)s<-'))
        return

to see what the create script is seeing for the password (%(auth)s will
be replaced by the password in the error message).

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

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Reply via email to