]> andersk Git - moira.git/commitdiff
Fix some default acls.
authorzacheiss <zacheiss>
Fri, 31 Oct 2008 22:16:00 +0000 (22:16 +0000)
committerzacheiss <zacheiss>
Fri, 31 Oct 2008 22:16:00 +0000 (22:16 +0000)
gen/cups-print.pc

index f6f5f51b4f05746e37d21d6e5ad93f3ec095c622..7e5ba533b6320db59e7efdb7fd26659ec82f6687 100644 (file)
@@ -384,8 +384,9 @@ void do_host(char *host)
       fprintf (out, "Order deny,allow\n");
       fprintf (out, "</Limit>\n");
       fprintf (out, "%s\n", submitjob);
-      fprintf (out, "AuthType Default\n");
+      fprintf (out, "AuthType None\n");
       fprintf (out, "Order deny,allow\n");
+      fprintf (out, "Allow from all\n");
       fprintf (out, "</Limit>\n");
       fprintf (out, "%s\n", alterpntr);
       fprintf (out, "AuthType Default\n");
@@ -404,8 +405,10 @@ void do_host(char *host)
       printer_user_list(out, "LIST", top_lpc_acl, "Require user");
       fprintf (out, "Order deny,allow\n");
       fprintf (out, "</Limit>\n");
+      fprintf (out, "AuthType None\n");
       fprintf (out, "%s\n", catchall);
       fprintf (out, "Order deny,allow\n");
+      fprintf (out, "Allow from all\n");
       fprintf (out, "</Limit>\n");
       fprintf (out, "</Policy>\n");
     }
@@ -445,6 +448,7 @@ void do_host(char *host)
       else if (ka)
         fprintf (out, "Require valid-user\n");
       fprintf (out, "Order deny,allow\n");
+      fprintf (out, "Allow from all\n");
       fprintf (out, "</Limit>\n");
       fprintf (out, "%s\n", alterpntr);
       fprintf (out, "AuthType Default\n");
@@ -466,9 +470,12 @@ void do_host(char *host)
       printer_user_list(out, "LIST", lpc_acl, "Require user");
       printer_user_list(out, "LIST", top_lpc_acl, "Require user");
       fprintf (out, "Order deny,allow\n");
+      fprintf (out, "Allow from all\n");
       fprintf (out, "</Limit>\n");
       fprintf (out, "%s\n", catchall);
+      fprintf (out, "AuthType None\n");
       fprintf (out, "Order deny,allow\n");
+      fprintf (out, "Allow from all\n");
       fprintf (out, "</Limit>\n");
       fprintf (out, "</Policy>\n");
     }
This page took 0.171893 seconds and 5 git commands to generate.