aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/default-config-no-gssapi.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-01-25 09:33:23 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-25 09:33:29 +0000
commit784f0d491fa0ba9e0872e6b6a825dffec5aab2ed (patch)
treea41f6f6754336f5121bb7b6d2024d0b6080dd1a0 /main/cups/default-config-no-gssapi.patch
parente22073c1c7f7b8ce3fb8e8fa956153fad93501d4 (diff)
downloadaports-784f0d491fa0ba9e0872e6b6a825dffec5aab2ed.tar.bz2
aports-784f0d491fa0ba9e0872e6b6a825dffec5aab2ed.tar.xz
main/cups: fix default config to work without GSSAPI support - fixes #6706
Diffstat (limited to 'main/cups/default-config-no-gssapi.patch')
-rw-r--r--main/cups/default-config-no-gssapi.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/cups/default-config-no-gssapi.patch b/main/cups/default-config-no-gssapi.patch
new file mode 100644
index 0000000000..b12c55ddf8
--- /dev/null
+++ b/main/cups/default-config-no-gssapi.patch
@@ -0,0 +1,26 @@
+--- a/conf/cupsd.conf.in
++++ b/conf/cupsd.conf.in
+@@ -145,12 +145,12 @@
+
+ # Job-related operations must be done by the owner or an administrator...
+ <Limit Create-Job Print-Job Print-URI Validate-Job>
+- AuthType Negotiate
++ AuthType Default
+ Order deny,allow
+ </Limit>
+
+ <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
+- AuthType Negotiate
++ AuthType Default
+ Require user @OWNER @SYSTEM
+ Order deny,allow
+ </Limit>
+@@ -171,7 +171,7 @@
+
+ # Only the owner or an administrator can cancel or authenticate a job...
+ <Limit Cancel-Job CUPS-Authenticate-Job>
+- AuthType Negotiate
++ AuthType Default
+ Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
+ Order deny,allow
+ </Limit>