View | Details | Raw Unified | Return to bug 1207 | Differences between
and this patch

Collapse All | Expand All

(-)auth.c (+5 lines)
Lines 269-274 Link Here
269
	    strcmp(method, "challenge-response") == 0))
269
	    strcmp(method, "challenge-response") == 0))
270
		record_failed_login(authctxt->user,
270
		record_failed_login(authctxt->user,
271
		    get_canonical_hostname(options.use_dns), "ssh");
271
		    get_canonical_hostname(options.use_dns), "ssh");
272
# ifdef _AIX
273
	if (authenticated)
274
		sys_auth_record_login(authctxt->user,
275
		    get_canonical_hostname(options.use_dns), "ssh", NULL);
276
# endif
272
#endif
277
#endif
273
#ifdef SSH_AUDIT_EVENTS
278
#ifdef SSH_AUDIT_EVENTS
274
	if (authenticated == 0 && !authctxt->postponed)
279
	if (authenticated == 0 && !authctxt->postponed)
(-)openbsd-compat/port-aix.c (-1 / +1 lines)
Lines 261-267 Link Here
261
	aix_setauthdb(user);
261
	aix_setauthdb(user);
262
	if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) {
262
	if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) {
263
		success = 1;
263
		success = 1;
264
		if (msg != NULL) {
264
		if (msg != NULL && loginmsg != NULL) {
265
			debug("AIX/loginsuccess: msg %s", msg);
265
			debug("AIX/loginsuccess: msg %s", msg);
266
			buffer_append(loginmsg, msg, strlen(msg));
266
			buffer_append(loginmsg, msg, strlen(msg));
267
			xfree(msg);
267
			xfree(msg);

Return to bug 1207