]> git.pld-linux.org Git - packages/cups.git/commitdiff
- updated for cups-1.3.8 but need to be reviewed
authortwittner <twittner@pld-linux.org>
Wed, 23 Jul 2008 13:11:50 +0000 (13:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups-satisfy-any.patch -> 1.3

cups-satisfy-any.patch

index 74857f66e9f3f7bb9f4ed09dcaa9f20b13c17974..fa6fcb9f5cd516ceeab06e94428b4e2b95b09b0e 100644 (file)
@@ -4,18 +4,20 @@ checks for auth info AND allow/deny access lists and does its job properly
 so checking again just for auth info is The Wrong Thing as there may be
 an access list allowing unauthorized clients based on their IP.
 
---- cups-1.3.4/scheduler/ipp.c~        2007-10-22 22:27:22.000000000 +0200
-+++ cups-1.3.4/scheduler/ipp.c 2007-12-06 18:25:11.000000000 +0100
-@@ -1294,12 +1294,6 @@
+--- cups-1.3.8/scheduler/ipp.c~        2008-07-23 14:09:50.444066834 +0200
++++ cups-1.3.8/scheduler/ipp.c 2008-07-23 14:11:36.356848959 +0200
+@@ -1301,13 +1301,7 @@
      send_http_error(con, status, printer);
      return (NULL);
    }
--  else if ((printer->type & CUPS_PRINTER_AUTHENTICATED) &&
+-  else if (printer->num_auth_info_required > 0 &&
+-           strcmp(printer->auth_info_required[0], "none") &&
 -           !con->username[0] && !auth_info)
 -  {
 -    send_http_error(con, HTTP_UNAUTHORIZED, printer);
 -    return (NULL);
 -  }
++
  #ifdef HAVE_SSL
    else if (auth_info && !con->http.tls &&
             !httpAddrLocalhost(con->http.hostaddr))
This page took 0.032636 seconds and 4 git commands to generate.