Smbpasswd troubles...

F. Ross Lord frlord at
Fri Mar 12 23:38:45 GMT 1999

I am having a problem trying to change my samba password from the command
line.  When I run smbpasswd as a user (not root), I put in my old password,
new password, then confirm the new password, and I get the following error:

machine rejected the session setup. Error was: code 131.
Failed to change password for <user>

I have included the smb.conf:

#======================= Global Settings
   workgroup = samba
   server string = Samba Server
   hosts allow = 10.1.1. 10.1.5.
   printcap name = /etc/printcap
   load printers = yes
   printing = bsd
   log file = /var/log/samba/log.%m
   max log size = 50
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/smbpasswd
   socket options = TCP_NODELAY
   domain logons = yes
   wins support = yes
   dns proxy = no
   preserve case = yes
   default case = lower
   case sensitive = no
   share modes = yes
   unix passwd sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *password* %n\n *password* %n\n *successfull*

Please let me know what I am doing wrong...

F. Ross Lord

More information about the samba-ntdom mailing list