smbpasswd fails to change password

Debian 6.0.5 ("squeeze") - armv5tel, on a DreamPlug

When a regular user was logged in, such as via ssh, using smbpasswd to update their Samba password would fail to change the password. The tool would run and prompt for passwords as usual, but the failure would be marked by a network-related error referencing after re-entering the new password. An example error message was:

machine rejected the negotiate protocol. Error was : NT_STATUS_INVALID_NETWORK_RESPONSE.

The Fix: 

This problem arose due to the use of the hosts allow setting in the /etc/samba/smb.conf file, in an attempt to ensure that only local machines could access shares on the DreamPlug. If the default was used (no "hosts allow" setting), the problem did not occur. To resolve this problem, I changed that setting from:

hosts allow = 192.168.


hosts allow = 192.168.