Authentication block logging rel_1_6_2
authorBill Erickson <berick@esilibrary.com>
Tue, 11 Oct 2011 21:03:57 +0000 (17:03 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 12 Oct 2011 17:47:41 +0000 (13:47 -0400)
* Login too-many-auth-failures message at Info level instead of Internal
* Log the username getting blocked

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/c-apps/oils_auth.c

index bd7d452..52ff7c5 100644 (file)
@@ -253,7 +253,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: %d, 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;