Your Samba password was not changed

Guys,

Just saw this in Usermin after changing my user password, what does it mean?

Your password for craig.isdahl.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 :

Failed to find entry for user craig.isdahl.com.

Thanks!
-- Craig

Status: 
Active

Comments

This means that the password used for Windows file sharing with Samba couldn't be updated.

For a typical virtualmin install this doesn't matter, as it is unlikely you are using Samba. To fix this, edit /etc/usermin/changepass/config and remove the smbpasswd= line.

Can I also get rid of the following from the success confirmation message?

Here's the whole confirmation message:
Your password for craig.isdahl.com has been changed successfully. Any telnet, SSH, FTP or POP3 logins made from now on will require the new password.

I'd like to remove:
Any telnet, SSH, FTP or POP3 logins made from now on will require the new password.

It's TMI (too much information) for customers, they want to know if it succeeded or failed, the other stuff just confuses them...

Sure, you can change this by editing the message in the file /usr/libexec/usermin/changepass/lang/en

It worked once I changed the file /usr/libexec/usermin/changepass/lang/en.UTF-8. Thanks!

Great! Actually, an even better solution is to create the file /etc/usermin/changepass/custom-lang containing just the line you changed. That way this will be preserved even if you upgrade Usermin.