
Dec. 8, 1998
3:07 p.m.
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