[cups.general] Conditional authentification based on LAN-IP?
Michael Sweet
msweet at apple.com
Wed Sep 15 12:00:10 PDT 2010
Sorry, there is no way to have different policies for different networks with a single printer or server instance.
On Sep 15, 2010, at 11:18 AM, Luc Lalonde wrote:
> Hello folks,
>
> I'm wondering if it is possible to combine these two rules into one:
>
> <Location /printers/hp1300>
> Order Allow, Deny
> Allow From 192.168.0.*
> </Location>
>
> <Location /printers/hp1300_dmz>
> Order Allow, Deny
> AuthType Basic
> Allow From 192.168.1.*
> </Location>
>
> Basically, these two point to the same printer. However, I want people to be able to use the printers without having to authenticate if they are on the 192.168.0.* LAN but force authentification on the wireless-dmz LAN (192.168.1.*).
>
> Thanks!
>
> --
> Luc Lalonde, analyste
> ---------------------------------------------------------------------
> Département de génie informatique:
> École polytechnique de Montréal
> (514) 340-4711 x5049
> Luc.Lalonde at polymtl.ca
> ---------------------------------------------------------------------
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list