On Tue, Jul 14, 2009 at 07:15:00PM +0200, Stefano Crocchianti wrote:
> Package: libpam-modules
> Version: 1.0.1-5+lenny1
> Severity: normal

> I think I found what could be a bug on pam_unix.so module, specifically
> on passverify.c routine, if NIS map is used and /etc/passwd password
> field has lower-case x character (as specified into man 5 passwd entry).
> In this case, the if condition at line 167
> if (strcmp((*pwd)->pw_passwd, "*NP*") == 0)
> will evaluate to FALSE and the unix_chkpwd will not be called. 

I don't understand.  Are you suggesting that the user is present in both the
NIS map *and* in /etc/passwd?  Why would you do that?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to