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.
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
10 send_http_error(con, status, printer);
13 - else if ((printer->type & CUPS_PRINTER_AUTHENTICATED) &&
14 - !con->username[0] && !auth_info)
16 - send_http_error(con, HTTP_UNAUTHORIZED, printer);
20 else if (auth_info && !con->http.tls &&
21 !httpAddrLocalhost(con->http.hostaddr))