SOURCES: cups-satisfy-any.patch - updated for cups-1.3.8 but need to be rev...
twittner
twittner at pld-linux.org
Wed Jul 23 15:11:56 CEST 2008
Author: twittner Date: Wed Jul 23 13:11:56 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated for cups-1.3.8 but need to be reviewed
---- Files affected:
SOURCES:
cups-satisfy-any.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/cups-satisfy-any.patch
diff -u SOURCES/cups-satisfy-any.patch:1.2 SOURCES/cups-satisfy-any.patch:1.3
--- SOURCES/cups-satisfy-any.patch:1.2 Thu Dec 6 18:38:13 2007
+++ SOURCES/cups-satisfy-any.patch Wed Jul 23 15:11:50 2008
@@ -4,18 +4,20 @@
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))
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/cups-satisfy-any.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list