Usermin change password error

6 posts / 0 new
Last post
#1 Sun, 10/21/2007 - 03:28
joeles

Usermin change password error

When changing my password via Usermin, I see the following error:

Your password for user@domain.com has been changed successfully. Any telnet, SSH, FTP or POP3 logins made from now on will require the new password. However, your Samba password was not changed : startsmbfilepwent_internal: file /etc/samba/smbpasswd did not exist. File successfully created. Failed to find entry for user user@domain.com. Failed to modify password entry for user user@domain.com

This is not a big error as the password was successfully changed, but I'm not running Samba and would rather my users not see this error as it may confuse them.

Sun, 10/21/2007 - 18:49
joeles

Ok, I found the config option in the Usermin "Change Password" module to fix this, but now I get the following output. It's not an error, but it is a little weird.
<div class='quote'>Your password for user@domain.com has been changed successfully. Any telnet, SSH, FTP or POP3 logins made from now on will require the new password.

Your password for the IMAP folder on localhost has also been changed.
Your password for the IMAP folder on localhost has also been changed.
Your password for the IMAP folder on localhost has also been changed.
Your password for the IMAP folder on localhost has also been changed.
Your password for the IMAP folder on localhost has also been changed.
Your password for the IMAP folder on localhost has also been changed.</div>&lt;br&gt;&lt;br&gt;Post edited by: joeles, at: 2007/10/21 18:50

Sun, 10/21/2007 - 19:52 (Reply to #2)
Joe
Joe's picture

Never seen this. From looking at the code, this occurs when you have IMAP or POP3 mail boxes configured in Usermin. It probably shouldn't need to report it multiple times, however, unless there are multiple such mailboxes, but maybe it ought to be more specific if it's changing multiple boxes--as it is confusing to see six identical messages.

I'll ask Jamie to chime in.

--

Check out the forum guidelines!

Sun, 10/21/2007 - 20:02
joeles

I just tried changing the password of another user and I got the expected output.
<div class='quote'>Your password for user@domain.com has been changed successfully. Any telnet, SSH, FTP or POP3 logins made from now on will require the new password.</div>
I've done a lot of testing with the other user so it may have been something I did in the past that is causing the issue. It's mostly been changing config values in Usermin, changing passwords, reading/deleting/composing mail, and setting up forwards and replies. I'm on CentOS 5 with a pretty vanilla install of Virtualmin Pro 3.48. Let me know if there is any other details it would help you to know.

Sun, 10/21/2007 - 21:05
Joe
Joe's picture

You're right, that repeated message <i>Your password for the IMAP folder on localhost has also been changed</i> is a (small) bug. It should appear only once, indicating that the stored password Usermin uses to access the local IMAP server has also been updated.

I'll fix this in the next Usermin release. Till then, just ignore that message, as it doesn't actually indicate that anything is going wrong.

--

Check out the forum guidelines!

Mon, 10/22/2007 - 04:07
joeles

Thanks, Jamie.

Topic locked