summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-04 00:27:21 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-04 00:27:21 +0000
commite06eb68226061e1b6e369f4aebe3b3c07ce1f2c7 (patch)
tree6366f8c536813f07ac876ab0edc644ef7ae293e7 /auth2.c
parent5d35a2f5828cfb0a8579228d80e8bec60c8f8c64 (diff)
- (bal) Failed password attempts don't increment counter on AIX. Bug #145
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/auth2.c b/auth2.c
index eea381d95..3b47a6d0a 100644
--- a/auth2.c
+++ b/auth2.c
@@ -232,12 +232,6 @@ userauth_finish(Authctxt *authctxt, int authenticated, char *method)
232 authctxt->success = 1; 232 authctxt->success = 1;
233 } else { 233 } else {
234 if (authctxt->failures++ > AUTH_FAIL_MAX) { 234 if (authctxt->failures++ > AUTH_FAIL_MAX) {
235#ifdef WITH_AIXAUTHENTICATE
236 /* XXX: privsep */
237 loginfailed(authctxt->user,
238 get_canonical_hostname(options.verify_reverse_mapping),
239 "ssh");
240#endif /* WITH_AIXAUTHENTICATE */
241 packet_disconnect(AUTH_FAIL_MSG, authctxt->user); 235 packet_disconnect(AUTH_FAIL_MSG, authctxt->user);
242 } 236 }
243 methods = authmethods_get(); 237 methods = authmethods_get();