diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-08-26 14:22:12 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-08-26 14:22:12 +1000 |
commit | 43a0dc6653e24d31798879b2caa4d0eaf287531c (patch) | |
tree | 4002a5e39e5683b5ca07c0d9e189007d4ebb9a67 | |
parent | 2fae867806fc3498be5bba343c6438068dfcf5b3 (diff) |
- (dtucker) [auth.c] Do not check for locked accounts when PAM is enabled.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | auth.c | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -35,6 +35,7 @@ | |||
35 | - (dtucker) [Makefile.in] Remove auth2-krb5. | 35 | - (dtucker) [Makefile.in] Remove auth2-krb5. |
36 | - (dtucker) [contrib/aix/inventory.sh] Add public domain notice. ok mouring@ | 36 | - (dtucker) [contrib/aix/inventory.sh] Add public domain notice. ok mouring@ |
37 | (the original author) | 37 | (the original author) |
38 | - (dtucker) [auth.c] Do not check for locked accounts when PAM is enabled. | ||
38 | 39 | ||
39 | 20030825 | 40 | 20030825 |
40 | - (djm) Bug #621: Select OpenSC keys by usage attributes. Patch from | 41 | - (djm) Bug #621: Select OpenSC keys by usage attributes. Patch from |
@@ -907,4 +908,4 @@ | |||
907 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 908 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
908 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 909 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
909 | 910 | ||
910 | $Id: ChangeLog,v 1.2916 2003/08/26 03:43:12 dtucker Exp $ | 911 | $Id: ChangeLog,v 1.2917 2003/08/26 04:22:12 dtucker Exp $ |
@@ -73,7 +73,7 @@ int | |||
73 | allowed_user(struct passwd * pw) | 73 | allowed_user(struct passwd * pw) |
74 | { | 74 | { |
75 | struct stat st; | 75 | struct stat st; |
76 | const char *hostname = NULL, *ipaddr = NULL, *passwd; | 76 | const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL; |
77 | char *shell; | 77 | char *shell; |
78 | int i; | 78 | int i; |
79 | #if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW) | 79 | #if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW) |
@@ -131,7 +131,7 @@ allowed_user(struct passwd * pw) | |||
131 | #endif | 131 | #endif |
132 | 132 | ||
133 | /* check for locked account */ | 133 | /* check for locked account */ |
134 | if (passwd && *passwd) { | 134 | if (!options.use_pam && passwd && *passwd) { |
135 | int locked = 0; | 135 | int locked = 0; |
136 | 136 | ||
137 | #ifdef LOCKED_PASSWD_STRING | 137 | #ifdef LOCKED_PASSWD_STRING |