Comment 1 for bug 604593

Revision history for this message
Stephane Chazelas (stephane-chazelas) wrote : Re: pam_unix "account" returns success on any user

Sorry, please disregard this bug, It's because I've got ldap for "shadow" in /etc/nsswitch.conf. After removing it, getspnam(3) returns NULL on users not in /etc/shadow as expected.

We may still say that there's a bug because with a default install of libpam-ldap the "account" settings for the pam_ldap module still are overriden by that of the pam_unix one.