commit | 64004b5566282ceb395674e0c4aaa89e04b3847d | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Tue Jan 07 16:15:20 2003 +1100 |
committer | Damien Miller <djm@mindrot.org> | Tue Jan 07 16:15:20 2003 +1100 |
tree | 4f77531d6dd1805d834f5489ede3e6c989273313 | |
parent | e832819cf7289b467070fc31c5080c133f0a101e [diff] [blame] |
- (djm) Fix Bug #442 for PAM case
diff --git a/auth.c b/auth.c index 0e79109..ee21149 100644 --- a/auth.c +++ b/auth.c
@@ -119,13 +119,11 @@ return 0; } } -#endif - -#if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW) passwd = spw->sp_pwdp; #else passwd = pw->pw_passwd; #endif + /* check for locked account */ if (strcmp(passwd, "*LK*") == 0 || passwd[0] == '!') { log("User %.100s not allowed because account is locked",