Overlapping access locations

Ryan Lovett ryan at stat.berkeley.edu
Thu Oct 14 14:12:06 PDT 2004


I'd like to set up a printer which allows people on one network to print 
without authentication, requires people on another network to print with 
basic authentication, and then deny everyone else.

<Location /printers/lp>
Deny From All
Allow From class.c.net.
</Location>

<Location /printers/lp>
Deny From All
Allow From otherclass.c.net.
AuthType Basic
</Location>

The above doesn't work. The following allows people on both networks to 
print, but requires authentication for both networks:

<Location /printers/lp>
Deny From All
Allow From class.c.net.
Allow From otherclass.c.net.
AuthType Basic
</Location>

Is there any way to configure it the way I want?

Ryan




More information about the cups mailing list