|
Lines 282-292
Link Here
|
| 282 |
record_failed_login(authctxt->user, |
282 |
record_failed_login(authctxt->user, |
| 283 |
get_canonical_hostname(options.use_dns), "ssh"); |
283 |
get_canonical_hostname(options.use_dns), "ssh"); |
| 284 |
# ifdef WITH_AIXAUTHENTICATE |
284 |
# ifdef WITH_AIXAUTHENTICATE |
| 285 |
if (authenticated) |
285 |
if (authenticated) |
| 286 |
sys_auth_record_login(authctxt->user, |
286 |
sys_auth_record_login(authctxt->user, |
| 287 |
get_canonical_hostname(options.use_dns), "ssh", &loginmsg); |
287 |
get_canonical_hostname(options.use_dns), "ssh", &loginmsg, options.print_lastlog); |
| 288 |
# endif |
288 |
# endif |
| 289 |
#endif |
289 |
#endif |
| 290 |
#ifdef SSH_AUDIT_EVENTS |
290 |
#ifdef SSH_AUDIT_EVENTS |
| 291 |
if (authenticated == 0 && !authctxt->postponed) |
291 |
if (authenticated == 0 && !authctxt->postponed) |
| 292 |
audit_event(audit_classify_auth(method)); |
292 |
audit_event(audit_classify_auth(method)); |