password chat problem

Michael Rees mike at
Fri Nov 10 09:58:26 GMT 2000

I'm trying to synch my Win and Linux passwords but I'm having problems debugging my passwd chat. I'm using SuSE 6.3. with my Linux box as a domain master.

All passwords are encrypted.  smbpasswd is populated Win password caching is off(relevant?)

Initial logon Ok and shares accessible.
This is what I see when I use passwd at the console. (The following done as root)

>passwd sand
New password:
New password (again):
Password changed

smb.conf contains
passwd program     /usr/bin/passwd %u
passwd chat        *New*password* %n\n *New*password* %n\n *changed*
unix password sync Yes

log.smb contains
  Invoking '/usr/bin/passwd sand' as password change program.
  talktochild: chatbuf=[*New*password*] responsebuf=[New password: ]
  talktochild: sendbuf=[sandstorm ]
  talktochild: chatbuf=[*New*password*] responsebuf=[New password (again): ]
  talktochild: sendbuf=[sandstorm]
  talktochild: chatbuf=[*changed*] responsebuf=[]
[2000/11/10 09:40:08, 3] smbd/chgpasswd.c:talktochild(266)
  response 3 incorrect
[2000/11/10 09:40:08, 3] smbd/chgpasswd.c:chat_with_program(316)
  Child failed to change password: sand

Thanks in advance for any suggestions.  Apologies if it's anything obvious.

Mike Rees
Systems Manager
Ysgol Glanymor School
Heol Elfed
Burry Port
Llanelli SA16 0AL

Tel 01554 832507
Fax 01554 832424

mike at 

More information about the samba mailing list