]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
scheduler: Raise auth failure log level from DEBUG to WARN for fail2ban compatibility
authorabubakar sabir <abubakarsabir924@gmail.com>
Sun, 26 Apr 2026 02:36:18 +0000 (07:36 +0500)
committerabubakar sabir <abubakarsabir924@gmail.com>
Sun, 26 Apr 2026 02:36:18 +0000 (07:36 +0500)
scheduler/auth.c

index 0e2c0be80a1c68ecb3e7396cf64c6d8829f7dbe7..83952472a38de7e191ba8dbfb75b1cfaf1036ad8 100644 (file)
@@ -2081,7 +2081,7 @@ cupsdIsAuthorized(cupsd_client_t *con,    /* I - Connection */
   * The user isn't part of the specified users or groups, so deny access...
   */
 
-  cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdIsAuthorized: User not in group(s).");
+  cupsdLogMessage(CUPSD_LOG_WARN, "cupsdIsAuthorized: User not in group(s).");
 
   return (con->username[0] ? HTTP_STATUS_FORBIDDEN : HTTP_STATUS_UNAUTHORIZED);
 }