summaryrefslogtreecommitdiff
path: root/auth2-pam.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-06-27 15:36:43 +1000
committerDamien Miller <djm@mindrot.org>2001-06-27 15:36:43 +1000
commitec9868aa3cc83dc0723c038cc02250dbdaed0110 (patch)
tree459d70f65a7c7e16de43b6b2f2af347eb9165b00 /auth2-pam.c
parent665af9cae7850c9df87f98c6604564652857d9ba (diff)
- (djm) Remove redundant and incorrect test for max auth attempts in
PAM kbdint code. Based on fix from Matthew Melvin <matthewm@webcentral.com.au>
Diffstat (limited to 'auth2-pam.c')
-rw-r--r--auth2-pam.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/auth2-pam.c b/auth2-pam.c
index 490921d8..cb32ae6e 100644
--- a/auth2-pam.c
+++ b/auth2-pam.c
@@ -1,5 +1,5 @@
#include "includes.h"
-RCSID("$Id: auth2-pam.c,v 1.10 2001/02/16 02:03:04 djm Exp $");
+RCSID("$Id: auth2-pam.c,v 1.11 2001/06/27 05:36:44 djm Exp $");
#ifdef USE_PAM
#include <security/pam_appl.h>
@@ -137,9 +137,6 @@ input_userauth_info_response_pam(int type, int plen, void *ctxt)
if (authctxt == NULL)
fatal("input_userauth_info_response_pam: no authentication context");
- if (authctxt->attempt++ >= AUTH_FAIL_MAX)
- packet_disconnect("too many failed userauth_requests");
-
nresp = packet_get_int(); /* Number of responses. */
debug("got %d responses", nresp);