eyt*
Nov 23, 2006

Error Changing Samba Password...

When I went to change my Samba password earlier today, I got this error message:

eyt@zaterdag 19% smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Error connecting to 127.0.0.1 (Connection refused)
unable to connect to SMB server on machine 127.0.0.1. Error was : SUCCESS - 0.
Failed to change password for eyt

Googling did not say it directly, but it appears that the problem above was that my smb.conf did not mention 127.0.0.1 (localhost) for the listening interfaces; adding 127.0.0.1 to the interfaces setting in the global section resolved my problem, as demonstrated here:

[global]
...
interfaces = 127.0.0.1 192.168.1.1/255.255.255.0
...

After this quick change and restarting Samba, I was able to change my password and all was happy again.

Filed In

Navigation

eyt*