1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-13 00:29:49 +03:00
pmaports/extra-repos/systemd/cups/default-config-no-gssapi.patch
jane400 029526a557
systemd/cups: new aport (MR 5803)
forked from alpine to add ondemand and journald support. as journald
requires systemd-libs, i don't think that we will upstream this package

[ci:skip-build]: already built successfully in CI (except for known qemu issues)
2025-01-17 14:05:45 -08:00

29 lines
1 KiB
Diff

Upstream: Not applicable (local configuration)
Reason: Sets config defaults for Alpine
--- a/conf/cupsd.conf.in
+++ b/conf/cupsd.conf.in
@@ -154,12 +154,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>
@@ -180,7 +180,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>