When I try to use the "unix passwd sync" feature in samba 2.0.4b, the passwd program just dies, after the samba password change script has passed the news password to passwd program. It doesnt occur in 5.2, and other people also have the same problem. Here is a part of my samba log: [1999/07/02 12:42:09, 3] smbd/chgpasswd.c:chat_with_program(369) Dochild for user jaanus (uid=0,gid=0) [1999/07/02 12:42:09, 10] smbd/chgpasswd.c:dochild(189) Invoking '/usr/bin/passwd jaanus' as password change program. [1999/07/02 12:42:10, 100] smbd/chgpasswd.c:talktochild(263) talktochild: chatbuf=[*password*] responsebuf=[Changing password for user jaanus New UNIX password: ] [1999/07/02 12:42:10, 100] smbd/chgpasswd.c:talktochild(276) talktochild: sendbuf=[xxxxxxx ] [1999/07/02 12:42:10, 100] smbd/chgpasswd.c:talktochild(263) talktochild: chatbuf=[*password*] responsebuf=[ Retype new UNIX password: ] [1999/07/02 12:42:10, 100] smbd/chgpasswd.c:talktochild(276) talktochild: sendbuf=[xxxxxxx ] [1999/07/02 12:42:29, 3] smbd/chgpasswd.c:chat_with_program(347) The process exited while we were waiting Sorry, if this is samba bug, but i thought i'll report that. You may never know... ;)
We should probably add direct PAM-based password changing to samba...
This seems to be fixed in samba-2.0.6, in Raw Hide.