Bugzilla – Attachment 2501 Details for
Bug 2245
Multiple USER_LOGIN messages when linux audit support is enabled on bad login
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove unnecessary audit events
file_2245.txt (text/plain), 950 bytes, created by
Petr Lautrbach
on 2014-11-05 01:01:41 AEDT
(
hide
)
Description:
remove unnecessary audit events
Filename:
MIME Type:
Creator:
Petr Lautrbach
Created:
2014-11-05 01:01:41 AEDT
Size:
950 bytes
patch
obsolete
>diff --git a/auth.c b/auth.c >index 5e60682..e756a36 100644 >--- a/auth.c >+++ b/auth.c >@@ -642,9 +642,6 @@ getpwnamallow(const char *user) > record_failed_login(user, > get_canonical_hostname(options.use_dns), "ssh"); > #endif >-#ifdef SSH_AUDIT_EVENTS >- audit_event(SSH_INVALID_USER); >-#endif /* SSH_AUDIT_EVENTS */ > return (NULL); > } > if (!allowed_user(pw)) >diff --git a/auth2.c b/auth2.c >index d9b440a..9576175 100644 >--- a/auth2.c >+++ b/auth2.c >@@ -240,9 +240,6 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt) > } else { > logit("input_userauth_request: invalid user %s", user); > authctxt->pw = fakepw(); >-#ifdef SSH_AUDIT_EVENTS >- PRIVSEP(audit_event(SSH_INVALID_USER)); >-#endif > } > #ifdef USE_PAM > if (options.use_pam)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2245
: 2501 |
2502