[cups.general] Authenticated subnet?

Michael Sweet msweet at apple.com
Thu Aug 6 10:27:22 PDT 2009


On Aug 6, 2009, at 8:19 AM, Duncan Sinclair wrote:
> Hi,
>
> I'd like to set up CUPS 1.3.9 (on an Ubuntu 9.04 server) to allow  
> (normal) unauthenticated printing from one subnet (the "staff"  
> network), but only secure authenticated from another (the "wireless"  
> subnet.)
>
> Can anyone show me how this can be done?

Use the "Satisfy any" directive to allow either the specified hosts or  
any host with authentication, e.g. for a "staff" network of  
11.22.33.0/24:

     <Location />
     Order allow,deny
     Allow from 11.22.33.0/24
     AuthType Default
     Require valid-user
     Satisfy any
     </Location>

(this goes in cupsd.conf, BTW...)

___________________________________________________
Michael Sweet, Senior Printing System Engineer







More information about the cups mailing list