-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using pam authentication all logon failures marked as success #23
base: main
Are you sure you want to change the base?
Conversation
It is not clear to me why this change is needed. Why is the FATAL not enough? Is it just that you want the PAM message to be logged as an error, or is something not working as expected? |
The issue is it is incorrectly recording a successful authentication in the FATAL would be enough if PAM did not create a msg LOG right before the FATAL msg. Here are 2 sample table excerpts for when authentication failed using pam:
Below is one example from the csv log:
|
Merge in upstream doc changes
Generalized the check for detecting authentication LOG messages that can precede a FATAL authentication message. Below are example csv log entries of 3 error messages accounted for in this PR
|
The issue is when using PAM auth a log msg of level LOG created before the FATAL msg
Pass in the msg and check it to catch this case.
Example logs from csv: