when using pam authentication all logon failures marked as success#23
when using pam authentication all logon failures marked as success#23amalek215 wants to merge 4 commits intopgaudit:mainfrom
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: