Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th March 2009, 18:16
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
 
Question 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

Last edited by chipsafts; 5th March 2009 at 19:15.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 16:06
FTP very slow in LAN, "fast" from WAN-> Firewall problem? Pasco Server Operation 6 7th March 2006 15:17


All times are GMT +2. The time now is 21:22.


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