summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth.c b/auth.c
index 5a02a4364..5da140b07 100644
--- a/auth.c
+++ b/auth.c
@@ -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)