diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -294,7 +294,7 @@ input_userauth_request(int type, u_int32_t seq, struct ssh *ssh) | |||
294 | /* Invalid user, fake password information */ | 294 | /* Invalid user, fake password information */ |
295 | authctxt->pw = fakepw(); | 295 | authctxt->pw = fakepw(); |
296 | #ifdef SSH_AUDIT_EVENTS | 296 | #ifdef SSH_AUDIT_EVENTS |
297 | PRIVSEP(audit_event(SSH_INVALID_USER)); | 297 | PRIVSEP(audit_event(ssh, SSH_INVALID_USER)); |
298 | #endif | 298 | #endif |
299 | } | 299 | } |
300 | #ifdef USE_PAM | 300 | #ifdef USE_PAM |
@@ -369,7 +369,7 @@ userauth_finish(struct ssh *ssh, int authenticated, const char *method, | |||
369 | !auth_root_allowed(ssh, method)) { | 369 | !auth_root_allowed(ssh, method)) { |
370 | authenticated = 0; | 370 | authenticated = 0; |
371 | #ifdef SSH_AUDIT_EVENTS | 371 | #ifdef SSH_AUDIT_EVENTS |
372 | PRIVSEP(audit_event(SSH_LOGIN_ROOT_DENIED)); | 372 | PRIVSEP(audit_event(ssh, SSH_LOGIN_ROOT_DENIED)); |
373 | #endif | 373 | #endif |
374 | } | 374 | } |
375 | 375 | ||
@@ -430,7 +430,7 @@ userauth_finish(struct ssh *ssh, int authenticated, const char *method, | |||
430 | authctxt->failures++; | 430 | authctxt->failures++; |
431 | if (authctxt->failures >= options.max_authtries) { | 431 | if (authctxt->failures >= options.max_authtries) { |
432 | #ifdef SSH_AUDIT_EVENTS | 432 | #ifdef SSH_AUDIT_EVENTS |
433 | PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES)); | 433 | PRIVSEP(audit_event(ssh, SSH_LOGIN_EXCEED_MAXTRIES)); |
434 | #endif | 434 | #endif |
435 | auth_maxtries_exceeded(ssh); | 435 | auth_maxtries_exceeded(ssh); |
436 | } | 436 | } |