Test for locked account in auth.c (bug #442).

Darren Tucker dtucker at zip.com.au
Tue Jan 7 22:43:31 EST 2003


Damien Miller wrote:
[snip]
> You are right, my fix introduced a new bug (though one could argue that
> it is PAM's responsibility to do this...).

Yeah, in fact some people might not want sshd to do this check at all
when using PAM.

> How does the following look:
[snip]

Ah I get it now, spw wasn't populated if USE_PAM is defined.
Proposed change looks OK to me.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



More information about the openssh-unix-dev mailing list