void-packages/srcpkgs/cups/patches/default-config-no-gssapi.patch

27 lines
981 B
Diff

--- 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>