Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-29-2005, 07:57 AM
|
#1
|
|
Member
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50
Rep:
|
Cancelling Jobs in CUPS
Server : fully updated Mandrake 9.1 (i586) with supplied cups version
I am trying to work out a way to let anyone (on the local subnet anyway) cancel jobs though CUPS.
At the moment when you cancel a job you get "Client Error Forbidden" unless you first login as root (the servers account - when the servers password changes the one for CUPS does) by clicking "Admin"
I can get this prompt on the jobs screen by adding the lines
AuthType Basic
AuthClass System
to the <jobs></jobs> section in the cupsd.conf file, but that doesn't really help.
Ideally anyone in the office would be able to cancel jobs (we don't need user level control for cancelling and as the jobs arn't cachéd after printing the "restart job" option isn't a security issue anyway. However we only want the Root user to be able to setup printers, start them etc.
Ideally users would be able to open the printer spool list in the windows xp control panel - however they can view the jobs but NOT cancel them - cancelling them in the dialogue box does naff all. [no errors, no cancelled job] (Due to network authentication being Netware all the xp desktops have the same username in Windows)
Does anyone know how to configure cups to allow that?
If we can't get that to work a kjobviewer type app for Windows would be ideal (can I used the CUPS API's with MS.NET? If so anyone got any links showing how to list and cancel jobs?) or know of any apps that do that?
|
|
|
|
12-29-2005, 09:41 AM
|
#2
|
|
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,392
Rep:
|
My jobs section looks like this:
<Location /jobs>
#
# You may wish to limit access to job operations, either with Allow
# and Deny lines, or by requiring a username and password.
#
AuthType None
AuthClass Anonymous
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
</Location>
enjoy !
|
|
|
|
12-29-2005, 01:54 PM
|
#3
|
|
Member
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50
Original Poster
Rep:
|
Quote:
|
Originally Posted by marozsas
My jobs section looks like this:
<Location /jobs>
#
# You may wish to limit access to job operations, either with Allow
# and Deny lines, or by requiring a username and password.
#
AuthType None
AuthClass Anonymous
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
</Location>
enjoy !
|
I'll check that out next year, I'd come across the AuthType None before, but not the AuthClass Anonymous - hopefully that line will do the trick.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:38 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|