View | Details | Raw Unified | Return to bug 145
Collapse All | Expand All

(-)auth.c (+8 lines)
Lines 256-261 Link Here
256
	    get_remote_ipaddr(),
256
	    get_remote_ipaddr(),
257
	    get_remote_port(),
257
	    get_remote_port(),
258
	    info);
258
	    info);
259
260
#ifdef WITH_AIXAUTHENTICATE
261
	if (authenticated == 0 && strcmp(method, "password") == 0)
262
	    loginfailed(authctxt->user,
263
		get_canonical_hostname(options.verify_reverse_mapping),
264
		"ssh");
265
#endif /* WITH_AIXAUTHENTICATE */
266
259
}
267
}
260
268
261
/*
269
/*
(-)auth1.c (-6 lines)
Lines 323-334 Link Here
323
			return;
323
			return;
324
324
325
		if (authctxt->failures++ > AUTH_FAIL_MAX) {
325
		if (authctxt->failures++ > AUTH_FAIL_MAX) {
326
#ifdef WITH_AIXAUTHENTICATE
327
			/* XXX: privsep */
328
			loginfailed(authctxt->user,
329
			    get_canonical_hostname(options.verify_reverse_mapping),
330
			    "ssh");
331
#endif /* WITH_AIXAUTHENTICATE */
332
			packet_disconnect(AUTH_FAIL_MSG, authctxt->user);
326
			packet_disconnect(AUTH_FAIL_MSG, authctxt->user);
333
		}
327
		}
334
328
(-)auth2.c (-6 lines)
Lines 232-243 Link Here
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();

Return to bug 145