[SATLUG] Exploring printing with CUPS

Phil Carinhas pac at fortuitous.com
Mon Oct 15 11:14:46 CDT 2007


On Mon, Oct 15, 2007 at 10:31:50AM -0500, Bruce Dubbs wrote:
> Mark McCoy wrote:
> 
> > You could also turn on "auto-discovery" mode, and let CUPS figure it out!
> 
> I tried that, but it didn't work.  I was going to investigate the
> server's cupsd.conf configuration to make sure it was set up properly
> for that, but I got distracted.  My conf file looks like:
> 
> LogLevel info
> Port 631
> BrowseAllow 192.168.0.*
> <Location />
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> Allow From 192.168.0.*
> </Location>
> <Location /admin>
> AuthType Basic
> AuthClass System
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> Allow From 192.168.0.*
> </Location>
 
 Mine looks like this: (need an lpadmin user and password):

/etc/cups/cupsd.conf

<Location />
Order Deny,Allow
Deny From All
Allow From 192.168.1.0/24
</Location>

<Location /jobs>
AuthType None
Order Deny,Allow
Deny From None
Allow From 192.168.1.0/24
</Location>

<Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From 192.168.1.0/24
</Location>

AuthType Basic
AuthClass User

<Location /admin>
AuthType BasicDigest
Allow From 192.168.1.0/24
Order Deny,Allow
Allow from @lpadmin
Allow From 192.168.1.0/24
Deny From All
</Location>
 

-Phil Carinhas

-- 
 .--------------------------------------------------------.
 | Dr. Philip A. Carinhas      || http://fortuitous.com   | 
 | Fortuitous Technologies Inc || Tel : 1-512-351-7783    | 
 | Performance Engineering, Capacity Planning & Unix Svcs |
 `--------------------------------------------------------'


More information about the SATLUG mailing list