if unix password sync = yes, and the new passowrd contains an double quote charakter ("), the unix passwd programm receives the neu password without that double quote. eg. when the new password is secr"et, smbd would tell secret to the password programm.
Created attachment 1876 [details]
ugly patch that solves the problem
(In reply to comment #1)
> Created an attachment (id=1876) [details]
> ugly patch that solves the problem
I have committed another patch that fixes the root cause (that passwords are inserted into the chat-sequence before it is split up into tokens) in bug #6411.
Marking as a duplicate of that other bug with more details and context.
*** This bug has been marked as a duplicate of bug 6411 ***