[Mailman-Developers] 1.0b6 password cmd bug report

Brian Lloyd Brian@digicool.com
Tue, 8 Dec 1998 10:07:04 -0500


It seems that 1.0b6 doesnt correctly handle the
password command via email:

from MailCommandHandler.py:

    def ProcessPasswordCmd(self, args, cmd, mail):
	if len(args) <> 2:
	    self.AddError("Usage: password <oldpw> <newpw>")
	    return
	try:
	    self.ChangeUserPassword(mail.GetSender(),
				    args[0], args[1], args[1])
	    self.AddToResponse('Succeeded.')


ProcessPasswordCmd is calling ChangeUserPassword with
too many arguments, causing a TypeError:

from SecurityManager.py:

    def ChangeUserPassword(self, user, newpw, confirm):
	self.IsListInitialized()



Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com