diff options
author | Colin Watson <cjwatson@debian.org> | 2003-09-01 18:52:37 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2003-09-01 18:52:37 +0000 |
commit | 854156dd39acbde9b4a47ec0fc54a042ea7358e0 (patch) | |
tree | 96755f8590acc2146f4b4ef5b5cdba600e5d9353 /auth2.c | |
parent | fad82e8999e790899083f9e22a1841148d746df6 (diff) | |
parent | 053db7da5ce09acdf742789d9d1a05e81d4861d0 (diff) |
Import OpenSSH 3.6.1p2.
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -160,7 +160,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt) | |||
160 | PRIVSEP(start_pam(authctxt->pw->pw_name)); | 160 | PRIVSEP(start_pam(authctxt->pw->pw_name)); |
161 | #endif | 161 | #endif |
162 | } else { | 162 | } else { |
163 | logit("input_userauth_request: illegal user %s", user); | 163 | log("input_userauth_request: illegal user %s", user); |
164 | #ifdef USE_PAM | 164 | #ifdef USE_PAM |
165 | PRIVSEP(start_pam("NOUSER")); | 165 | PRIVSEP(start_pam("NOUSER")); |
166 | #endif | 166 | #endif |
@@ -238,8 +238,9 @@ userauth_finish(Authctxt *authctxt, int authenticated, char *method) | |||
238 | /* now we can break out */ | 238 | /* now we can break out */ |
239 | authctxt->success = 1; | 239 | authctxt->success = 1; |
240 | } else { | 240 | } else { |
241 | if (authctxt->failures++ > AUTH_FAIL_MAX) | 241 | if (authctxt->failures++ > AUTH_FAIL_MAX) { |
242 | packet_disconnect(AUTH_FAIL_MSG, authctxt->user); | 242 | packet_disconnect(AUTH_FAIL_MSG, authctxt->user); |
243 | } | ||
243 | #ifdef _UNICOS | 244 | #ifdef _UNICOS |
244 | if (strcmp(method, "password") == 0) | 245 | if (strcmp(method, "password") == 0) |
245 | cray_login_failure(authctxt->user, IA_UDBERR); | 246 | cray_login_failure(authctxt->user, IA_UDBERR); |