Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minimum required for a valid cupsd.conf policy?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1655

PostPosted: Thu Apr 17, 2014 1:41 am    Post subject: Minimum required for a valid cupsd.conf policy? Reply with quote

Greetings all

Whats the minimum required for a valid cupsd.conf policy?

I have
Code:
# Set the default printer/job policies...
<Policy default>
  JobPrivateAccess none
  JobPrivateValues none
  SubscriptionPrivateAccess none
  SubscriptionPrivateValues none
</Policy>

and I am getting errors:

Code:
W [16/Apr/2014:18:31:17 -0700] Duplicate listen address "0.0.0.0" ignored.
W [16/Apr/2014:18:31:17 -0700] Duplicate listen address "[v1.::]" ignored.
E [16/Apr/2014:18:31:17 -0700] Unknown browse protocol "CUPS" ignored.
E [16/Apr/2014:18:31:17 -0700] Unknown browse protocol "LPD" ignored.
E [16/Apr/2014:18:31:17 -0700] Unknown browse protocol "SMB" ignored.
W [16/Apr/2014:18:31:17 -0700] No limit for Validate-Job defined in policy default and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for Cancel-Jobs defined in policy default and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for Cancel-My-Jobs defined in policy default and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for Close-Job defined in policy default and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for CUPS-Get-Document defined in policy default and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for Validate-Job defined in policy authenticated and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for Cancel-Jobs defined in policy authenticated and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for Cancel-My-Jobs defined in policy authenticated and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for Close-Job defined in policy authenticated and no suitable template found.
W [16/Apr/2014:18:31:17 -0700] No limit for CUPS-Get-Document defined in policy authenticated and no suitable template found.
E [16/Apr/2014:18:31:17 -0700] Unable to open listen socket for address [v1.::]:631 - Address family not supported by protocol.

been reading man5 cupsd.conf for an hour :(
THANKS!
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1655

PostPosted: Thu Apr 17, 2014 1:47 am    Post subject: Reply with quote

Never mind this works:
Code:
DefaultPolicy none
<Policy none>
  JobPrivateAccess none
  JobPrivateValues none
  SubscriptionPrivateAccess none
  SubscriptionPrivateValues none
  <Limit All>
  Allow all
  </Limit>
</Policy>

_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum