Policies and access restrictions

Michael Sweet mike at easysw.com
Fri Oct 13 13:10:42 PDT 2006


Simon Kuhn wrote:
> Hello,
> 
> I'm using CUPS 1.2.4. I'm trying to configure it such that certain printers can only be printed to be certain machines (for use in a lab environment). It would be nice if other operations were still permitted as normal, although thats not absolutely required.
> 
> I have the following lines in cupsd.conf:
> 
> HostNameLookups On
> 
> <Policy glennan312>
> #  <Limit Send-Document Send-URI Print-Job Create-Job>
>   <Limit All>
>     Order allow,deny
>     Allow from g312-01.cwru.edu
>     Allow from g312-02.cwru.edu
>     Allow from g312-03.cwru.edu
>     Allow from g312-04.cwru.edu
>     Allow from g312-05.cwru.edu
>     Allow from g312-06.cwru.edu
>     Allow from g312-07.cwru.edu
>     Allow from g312-08.cwru.edu
>     Allow from g312-09.cwru.edu
>     Allow from g312-10.cwru.edu

You don't need this line, which will only cause problems:

>     Deny from All

Also, check your access_log file and verify that the correct hostnames
are logged there...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list