]> git.pld-linux.org Git - packages/cups.git/blob - cups-satisfy-any.patch
- 1.3.5
[packages/cups.git] / cups-satisfy-any.patch
1
2 Removed code prevented "Satisfy Any" directive from working, cupsdCheckPolicy
3 checks for auth info AND allow/deny access lists and does its job properly
4 so checking again just for auth info is The Wrong Thing as there may be
5 an access list allowing unauthorized clients based on their IP.
6
7 --- cups-1.3.4/scheduler/ipp.c~ 2007-10-22 22:27:22.000000000 +0200
8 +++ cups-1.3.4/scheduler/ipp.c  2007-12-06 18:25:11.000000000 +0100
9 @@ -1294,12 +1294,6 @@
10      send_http_error(con, status, printer);
11      return (NULL);
12    }
13 -  else if ((printer->type & CUPS_PRINTER_AUTHENTICATED) &&
14 -           !con->username[0] && !auth_info)
15 -  {
16 -    send_http_error(con, HTTP_UNAUTHORIZED, printer);
17 -    return (NULL);
18 -  }
19  #ifdef HAVE_SSL
20    else if (auth_info && !con->http.tls &&
21             !httpAddrLocalhost(con->http.hostaddr))
This page took 0.058268 seconds and 3 git commands to generate.