From 5048d3ba8d38b2bc9c3cf33af043fbccebf90ea2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 15 Nov 2016 12:24:44 -0500 Subject: [PATCH] Add "kerberos" policy for Kerberized printing support (standard on macOS for a long time...) --- conf/cupsd.conf.in | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/conf/cupsd.conf.in b/conf/cupsd.conf.in index 2fd0de0c3..ab37ca68c 100644 --- a/conf/cupsd.conf.in +++ b/conf/cupsd.conf.in @@ -134,3 +134,49 @@ WebInterface @CUPS_WEBIF@ Order deny,allow + +# Set the kerberized printer/job policies... + + # Job/subscription privacy... + JobPrivateAccess default + JobPrivateValues default + SubscriptionPrivateAccess default + SubscriptionPrivateValues default + + # Job-related operations must be done by the owner or an administrator... + + AuthType Negotiate + Order deny,allow + + + + AuthType Negotiate + Require user @OWNER @SYSTEM + Order deny,allow + + + # All administration operations require an administrator to authenticate... + + AuthType Default + Require user @SYSTEM + Order deny,allow + + + # All printer operations require a printer operator to authenticate... + + AuthType Default + Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ + Order deny,allow + + + # Only the owner or an administrator can cancel or authenticate a job... + + AuthType Negotiate + Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ + Order deny,allow + + + + Order deny,allow + + -- 2.39.2