From: Bill Erickson Date: Tue, 11 Oct 2011 21:03:57 +0000 (-0400) Subject: Authentication block logging X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bb952f0ade4daec445a5acd10f266285c15af2f3;p=evergreen%2Fequinox.git Authentication block logging * Login too-many-auth-failures message at Info level instead of Internal * Log the username getting blocked Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/c-apps/oils_auth.c b/Open-ILS/src/c-apps/oils_auth.c index 8e1c0280e8..7c545defdd 100644 --- a/Open-ILS/src/c-apps/oils_auth.c +++ b/Open-ILS/src/c-apps/oils_auth.c @@ -314,7 +314,7 @@ static int oilsAuthVerifyPassword( const osrfMethodContext* ctx, long failcount = (long) jsonObjectGetNumber( countobject ); if(failcount >= _oilsAuthBlockCount) { ret = 0; - osrfLogInternal(OSRF_LOG_MARK, "oilsAuth found too many recent failures: %i, forcing failure state.", failcount); + osrfLogInfo(OSRF_LOG_MARK, "oilsAuth found too many recent failures for '%s' : %i, forcing failure state.", uname, failcount); } if(ret == 0) { failcount += 1;