diff options
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -279,6 +279,11 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info) | |||
279 | strcmp(method, "challenge-response") == 0)) | 279 | strcmp(method, "challenge-response") == 0)) |
280 | record_failed_login(authctxt->user, | 280 | record_failed_login(authctxt->user, |
281 | get_canonical_hostname(options.use_dns), "ssh"); | 281 | get_canonical_hostname(options.use_dns), "ssh"); |
282 | # ifdef WITH_AIXAUTHENTICATE | ||
283 | if (authenticated) | ||
284 | sys_auth_record_login(authctxt->user, | ||
285 | get_canonical_hostname(options.use_dns), "ssh", &loginmsg); | ||
286 | # endif | ||
282 | #endif | 287 | #endif |
283 | #ifdef SSH_AUDIT_EVENTS | 288 | #ifdef SSH_AUDIT_EVENTS |
284 | if (authenticated == 0 && !authctxt->postponed) | 289 | if (authenticated == 0 && !authctxt->postponed) |