[cups.general] Configuring cupsd.conf

Mike_Giammarino at praxair.com Mike_Giammarino at praxair.com
Mon Mar 10 05:28:05 PDT 2008


I've spent some time trying to configure cups, even had some local help, 
still no luck.
Allow All works but, must limit access to selected locations and users via 
Windows.

HPUX 11.23   running cups.   hostname.abcd.company.com
Windows XP V. 2003 SP 2  hostname.yz.company.com
                                         username.yz.company.com
I.E. 6.0.29

configure --prefix=/usr/local/cups
Cups started   /sbin/inet.d/cups start
browser address http://hostname:631/

After getting the CUPS home page, selected administration, receive 403 
Forbidden.

Selecting classes receive, 426 Upgrade Required
You must access this page using URL 
https://hostname.abcd.company.com:631/classes/.
Receive security alert, do you want to proceed?
Then required to login to the server, now can configure classes.
Browsing to https://hostname.abcd.company.com:631/classes/  will work.


 Cupsd.conf

#
# "$Id: cupsd.conf.in 6720 2007-07-25 00:40:03Z mike $"
#
#   Sample configuration file for the Common UNIX Printing System (CUPS)
#   scheduler.  See "man cupsd.conf" for a complete description of this
#   file.
#

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info 

# Administrator user group...
SystemGroup sys root


# Only listen for connections from the local machine.
Port  631
#Listen /usr/local/cups/var/run/cups/cups.sock


# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow From *.company.com
  AuthType Basic
  Authclass user
  Allow All 
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Authclass system
  Encryption Required
#   Allow All
    Allow from .company.com
    Require User @SYSTEM 
    Allow User username.yz.company.com 
    Allow From hostname.yz.company.com 
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  Order allow,deny
  AuthType Default
  Allow localhost
</Location>
left off the rest of file

This e-mail, including any attachments, is intended solely for the person 
or entity to which it is addressed and may contain confidential, 
proprietary and/or non-public material. Except as stated above, any 
review, re-transmission, dissemination or other use of, or taking of any 
action in reliance upon this information by persons or entities other than 
an intended recipient is prohibited. If you receive this in error, please 
so notify the sender and delete the material from any media and destroy 
any printouts or copies.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20080310/a9b659ef/attachment-0001.html>


More information about the cups mailing list