Can we log bad login attempts of an invalid user ?
This patch log for "none" method when login attempt is made by a In-valid User. But works correctly for existing valid user ( doesn't log for "none" method )
1. Disabling "none" doesn't solve if (authenticated == 0 && !authctxt->postponed && strcmp(method, "none" ) && ...
2. Avoiding Invalid user doesn't solve if (authenticated == 0 && authctxt->valid && !authctxt->postponed && strcmp(method, "none" ) && ....
Can we log bad login attempts of an invalid user ?
This patch log for "none" method when login attempt is made by a In-valid User.
But works correctly for existing valid user ( doesn't log for "none" method )
1. Disabling "none" doesn't solve >postponed && strcmp(method, "none" ) && ...
if (authenticated == 0 && !authctxt-
2. Avoiding Invalid user doesn't solve >postponed &&
if (authenticated == 0 && authctxt->valid && !authctxt-
strcmp(method, "none" ) && ....