Skip to content

Commit

Permalink
added Failed Login auditing
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Pizzi committed Feb 7, 2015
1 parent 9d66bfb commit de39080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audit_plugin.cc
Expand Up @@ -224,7 +224,7 @@ static void audit(ThdSesData *pThdData)
if (record_logins_enable) {
const char * cmd = pThdData->getCmdName();
const char * user = pThdData->getUserName();
if (!strcasecmp(cmd, "Connect") || !strcasecmp(cmd, "Quit")) {
if (!strcasecmp(cmd, "Connect") || !strcasecmp(cmd, "Quit") || !strcasecmp(cmd, "Failed Login")) {
if(user && strlen( user))
Audit_handler::log_audit_all(pThdData);
return;
Expand Down

0 comments on commit de39080

Please sign in to comment.