diff options
author | Tim Rice <tim@multitalents.net> | 2002-09-25 17:38:46 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2002-09-25 17:38:46 -0700 |
commit | 81ed518b9b888502cc57b23c02c47634ca508748 (patch) | |
tree | c5e3572dcc8dabd07784d1686d67e560e1685a6f /auth1.c | |
parent | 164725f40ecda144de706c94778e47dc86ae9257 (diff) |
Cray fixes (bug 367) based on patch from Wendy Palm @ cray.
This does not include the deattack.c fixes.
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -304,6 +304,15 @@ do_authloop(Authctxt *authctxt) | |||
304 | fatal("INTERNAL ERROR: authenticated invalid user %s", | 304 | fatal("INTERNAL ERROR: authenticated invalid user %s", |
305 | authctxt->user); | 305 | authctxt->user); |
306 | 306 | ||
307 | #ifdef _UNICOS | ||
308 | if (type == SSH_CMSG_AUTH_PASSWORD && !authenticated) | ||
309 | cray_login_failure(authctxt->user, IA_UDBERR); | ||
310 | if (authenticated && cray_access_denied(authctxt->user)) { | ||
311 | authenticated = 0; | ||
312 | fatal("Access denied for user %s.",authctxt->user); | ||
313 | } | ||
314 | #endif /* _UNICOS */ | ||
315 | |||
307 | #ifdef HAVE_CYGWIN | 316 | #ifdef HAVE_CYGWIN |
308 | if (authenticated && | 317 | if (authenticated && |
309 | !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD, pw)) { | 318 | !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD, pw)) { |