HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   CUPS problem - managing jobs from LAN (http://www.howtoforge.com/forums/showthread.php?t=32157)

chipsafts 5th March 2009 18:16

CUPS problem - managing jobs from LAN
 
I want to allow anyone on our LAN to resubmit a job , but not to do any other administration type tasks.
going to
http://ls.a.c:631/
works fine, though it allows users to go into admin.
getting to the jobs (http://ls.a.c:631/jobs/) also works.

but resubmitting the job
(http://ls.a.c:631/jobs/?op=restart-j...=/printers/TDL)
results in "client-error-forbidden"

here is the cupsd.conf file , with all comments removed.
Code:

ServerAdmin rootem@e.com
LogFilePerm 0600

MaxLogSize 2000000000

LogLevel info

PreserveJobFiles Yes
Printcap /etc/printcap

PrintcapFormat Solaris
User lp
Group sys

Timeout 175
<Location />
Order Allow,Deny
Allow From 192.168.1.*
Allow From 127.0.0.1
Allow From 192.168.1.15
</Location>


<Location /jobs>
Order Allow,Deny
Allow From 192.168.1.*
Allow From 127.0.0.1
Allow From 192.168.1.15
</Location>

<Location /admin>

AuthType Basic
AuthClass System
Order Deny,Allow
Allow From 192.168.1.*
Allow From 127.0.0.1
Allow From 192.168.1.15
</Location>

<Location /printers/test>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
<Location /printers/DT128>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
<Location /printers/5si>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
<Location /printers/Tek>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
<Location /printers/TDLR>
Order Deny,Allow
Deny From All
Allow From 192.168.1.15
Allow From 127.0.0.1
Allow From 192.168.1.*
AuthType None
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAddress 192.168.1.255
BrowseAllow from 192.168.1.0/255.255.255.0
BrowseAllow from 192.168.1.15
Listen *:631



All times are GMT +2. The time now is 05:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.