#
#
# 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 debug
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
#Listen localhost:631
Listen *:631
Listen /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
DefaultAuthType Digest
# Restrict access to the server...
# Change TD:
# Order allow,deny
Order deny,allow
Deny from All
Allow from localhost
Allow from 195.113.22.161
# Restrict access to the admin pages...
# Change TD:
# Order allow,deny
Order deny,allow
Deny from All
Allow from localhost
Allow from 195.113.22.161
Allow from 195.113.22.150
# Restrict access to configuration files...
AuthType Default
# Require user @SYSTEM
Require user @lpadmin
# Change TD:
# Order allow,deny
Order deny,allow
Deny From All
Allow from localhost
Allow from 195.113.22.161
Allow from 195.113.22.150
# AuthType Basic
# AuthClass User
AuthType Default
Require user @lpadmin
Order Deny,Allow
Deny From All
Allow From 195.113.22.128/255.255.255.128
AuthType None
Order Deny,Allow
Deny From All
Allow From 195.113.22.128/255.255.255.128
# Set the default printer/job policies...
# Job-related operations must be done by the owner or an administrator...
# AuthType Basic
# Require user @OWNER @SYSTEM
AuthType Default
Require user @lpadmin
Order deny,allow
Deny From All
Allow From 195.113.22.128/255.255.255.128
# All administration operations require an administrator to authenticate...
AuthType Default
# Require user @SYSTEM
Require user @lpadmin
Order deny,allow
Deny From All
Allow from localhost
Allow from 195.113.22.150
Allow from 195.113.22.161
# All printer operations require a printer operator to authenticate...
AuthType Default
# Require user @SYSTEM
Require user @lpadmin
Order deny,allow
Deny From All
Allow from localhost
Allow from 195.113.22.150
Allow from 195.113.22.161
# Only the owner or an administrator can cancel or authenticate a job...
# AuthType Basic
# Require user @OWNER @SYSTEM
AuthType Default
Require user @lpadmin
Order deny,allow
Deny From All
Allow From 195.113.22.128/255.255.255.128
Allow from localhost
Order deny,allow
Deny From All
Allow from localhost
#
#