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

Collapse All | Expand All

(-)auth.c (+9 lines)
Lines 54-59 Link Here
54
54
55
/* import */
55
/* import */
56
extern ServerOptions options;
56
extern ServerOptions options;
57
#ifdef WITH_AIXAUTHENTICATE
58
extern char *aixloginmsg;
59
#endif /* WITH_AIXAUTHENTICATE */
57
60
58
/* Debugging messages */
61
/* Debugging messages */
59
Buffer auth_debug;
62
Buffer auth_debug;
Lines 216-221 Link Here
216
		}
219
		}
217
		return 0;
220
		return 0;
218
	}
221
	}
222
223
        /* We don't have a pty yet, so just label the line as "ssh" */
224
        if (loginsuccess(pw->pw_name,
225
            get_canonical_hostname(options.verify_reverse_mapping),
226
            "ssh", &aixloginmsg) < 0)
227
                aixloginmsg = NULL;
219
#endif /* WITH_AIXAUTHENTICATE */
228
#endif /* WITH_AIXAUTHENTICATE */
220
229
221
	/* We found no reason not to let this user try to log on... */
230
	/* We found no reason not to let this user try to log on... */
(-)session.c (-7 lines)
Lines 210-222 Link Here
210
		close(startup_pipe);
210
		close(startup_pipe);
211
		startup_pipe = -1;
211
		startup_pipe = -1;
212
	}
212
	}
213
#ifdef WITH_AIXAUTHENTICATE
214
	/* We don't have a pty yet, so just label the line as "ssh" */
215
	if (loginsuccess(authctxt->user,
216
	    get_canonical_hostname(options.verify_reverse_mapping),
217
	    "ssh", &aixloginmsg) < 0)
218
		aixloginmsg = NULL;
219
#endif /* WITH_AIXAUTHENTICATE */
220
213
221
	/* setup the channel layer */
214
	/* setup the channel layer */
222
	if (!no_port_forwarding_flag && options.allow_tcp_forwarding)
215
	if (!no_port_forwarding_flag && options.allow_tcp_forwarding)

Return to bug 355