summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--auth2.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c4348ab0c..0e9fc354b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
4 - (bal) Since we don't support platforms lacking u_int_64. We may 4 - (bal) Since we don't support platforms lacking u_int_64. We may
5 as well clean out some of those evil #ifdefs 5 as well clean out some of those evil #ifdefs
6 - (bal) auth1.c minor resync while looking at the code. 6 - (bal) auth1.c minor resync while looking at the code.
7 - (bal) auth2.c same changed as above.
7 8
820030409 920030409
9 - (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report 10 - (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report
@@ -1344,4 +1345,4 @@
1344 save auth method before monitor_reset_key_state(); bugzilla bug #284; 1345 save auth method before monitor_reset_key_state(); bugzilla bug #284;
1345 ok provos@ 1346 ok provos@
1346 1347
1347$Id: ChangeLog,v 1.2661 2003/04/27 18:41:30 mouring Exp $ 1348$Id: ChangeLog,v 1.2662 2003/04/27 18:44:31 mouring Exp $
diff --git a/auth2.c b/auth2.c
index cfaac5f72..9c4919969 100644
--- a/auth2.c
+++ b/auth2.c
@@ -238,9 +238,8 @@ 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 }
244#ifdef _UNICOS 243#ifdef _UNICOS
245 if (strcmp(method, "password") == 0) 244 if (strcmp(method, "password") == 0)
246 cray_login_failure(authctxt->user, IA_UDBERR); 245 cray_login_failure(authctxt->user, IA_UDBERR);