Can not change user’s samba passwd by smbpasswd

One  problem occurred when I want to change my samba password by smbpasswd from my account (not the root account).

After googleing for the following error msgs, I can’t fix this problem…

[kiki][/home/sssun] smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
Receiving SMB: Server stopped responding
machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : Read error: Connection reset by peer.
Failed to change password for sssun

[How to Solve It?]
Just add this line into the smb.conf
allow hosts = 127.0.0.1 other.your.ip.allowed

then reload the samba service


Leave a Reply