cups-2.2.2-no_kerberos_config.patch 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Don't add kerberos policies into cupsd config when no kerberos support was
  2. compiled in.
  3. https://bugs.gentoo.org/606472
  4. --- cups-2.2.2/conf/cupsd.conf.in
  5. +++ cups-2.2.2/conf/cupsd.conf.in
  6. @@ -134,49 +134,3 @@
  7. Order deny,allow
  8. </Limit>
  9. </Policy>
  10. -
  11. -# Set the kerberized printer/job policies...
  12. -<Policy kerberos>
  13. - # Job/subscription privacy...
  14. - JobPrivateAccess default
  15. - JobPrivateValues default
  16. - SubscriptionPrivateAccess default
  17. - SubscriptionPrivateValues default
  18. -
  19. - # Job-related operations must be done by the owner or an administrator...
  20. - <Limit Create-Job Print-Job Print-URI Validate-Job>
  21. - AuthType Negotiate
  22. - Order deny,allow
  23. - </Limit>
  24. -
  25. - <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>
  26. - AuthType Negotiate
  27. - Require user @OWNER @SYSTEM
  28. - Order deny,allow
  29. - </Limit>
  30. -
  31. - # All administration operations require an administrator to authenticate...
  32. - <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  33. - AuthType Default
  34. - Require user @SYSTEM
  35. - Order deny,allow
  36. - </Limit>
  37. -
  38. - # All printer operations require a printer operator to authenticate...
  39. - <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
  40. - AuthType Default
  41. - Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
  42. - Order deny,allow
  43. - </Limit>
  44. -
  45. - # Only the owner or an administrator can cancel or authenticate a job...
  46. - <Limit Cancel-Job CUPS-Authenticate-Job>
  47. - AuthType Negotiate
  48. - Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
  49. - Order deny,allow
  50. - </Limit>
  51. -
  52. - <Limit All>
  53. - Order deny,allow
  54. - </Limit>
  55. -</Policy>