Subject: Re: bin/30730 (force changing password via chsh fails with "master.passwd entry inconsistent" message)
To: None <jnemeth@NetBSD.org, netbsd-bugs@netbsd.org,>
From: None <jnemeth@netbsd.org>
List: netbsd-bugs
Date: 05/30/2006 11:34:39
Synopsis: force changing password via chsh fails with "master.passwd entry inconsistent" message

State-Changed-From-To: open->analyzed
State-Changed-By: jnemeth@netbsd.org
State-Changed-When: Tue, 30 May 2006 11:34:37 +0000
State-Changed-Why:
pam_unix:pam_sm_chauthtok() is calling local_set_password() and
yp_set_password() with &old_pwd and pwd, where pwd is a pointer to
old_pwd.  This means that old_pwd is no longer the same as the
entry read from master.passwd, so pw_copyx is objecting and is
issuing the "entry inconsistent" error.