BUG in UNIX password chat

Pierre Filippone pierre.filippone at retail-sc.com
Thu Apr 8 16:47:03 GMT 2004


Hi,

I think there is a bug in the unix password chat. (3.0.3pre2)

If a password contains single or double quotes they are filtered out 
before passing
the new password to the passwd program.

It looks like the reason for this is the usage of next_token() 
(lib/util_str.c) in talktochild() from chgpasswd.c.
Probably you know better than I what function to use instead :-)

Regards,
 
Pierre Filippone


More information about the samba-technical mailing list