[Samba] Password change from WinXP (PAM Error)

Andrew Bartlett abartlet at samba.org
Mon Mar 22 02:43:06 GMT 2004

> >          passwd chat = Newpassword* %n Re-enternewpassword %n
> > *passwd:allauthenticationtokensupdatedsuccessfully

This is certainly wrong.  

> What OS is this?  You password chat has no wildchards between the words.  
> I'd double check the output from /usr/bin/passwd and make sure your 
> password chat matches as closely as possible.  Also, you could set your 
> password chat debug = yes and set your log level up to like 100 to see 
> the output of the passwd change dialog.  Secondly, I would take out pam 
> password change (this has never worked properly for me). Unix password 
> sync (and the deritative passwd program and passwd chat) and pam 
> password change are mutually exclusive if I remember right.

pam password change is a method for 'unix password sync', so it requires it.

If you have the passwd chat setup right, then the PAM stuff can be
more reliable then the old-style 'unix password sync'.

Andrew Bartlett

More information about the samba mailing list