smbpasswd (error code 131)

Matthew Geier matthew at
Mon Oct 12 21:03:52 GMT 1998

> I'm trying to migrate to a system with encrypted passwords, but I have a
> problem with smbpasswd.  When I try to modify an encrypted passwd (either NO
> PASSWORD or a valid one) on unix, smbpasswd returns the following message:
> smbpasswd: machine rejected the session request. Error was : code
> 131.
> Anyone any ideas?

 Do you have 'host allow' statements in your smb.conf ?. If so, you have
to allow the to connect as well as your desired network addresses
for smbpasswd to do it stuff.

More information about the samba mailing list