Samba - Unix password sync

Matt Chapman matty at
Mon Nov 8 02:40:00 GMT 1999

On Mon, Nov 08, 1999 at 02:44:57PM +1100, SATOH Fumiyasu wrote:
> The passwd(1) command uses getpass(3) function that calls
> tcsetattr(3) function with NOECHO termios and TCSAFLUSH action
> to prevent from echoing password.
> If smbd sends a string of `passwd chat' parameter before passwd
> calls getpass(3), that string is discarded! Then smbd and passwd
> are waiting for each other while timed out by smbd.

Yes, you are correct. This is already fixed as of Samba 2.0.6-pre3,
and the fix will be in the 2.0.6 release.


Matthew "Austin" Chapman
SysAdmin, Developer, Samba Team Member

More information about the samba mailing list