[cups] Unable to remotely add printer on version 1.4.2
David Rider
david at weldonparts.com
Tue May 19 07:54:00 PDT 2015
I recently upgrade from RHEL 5 to RHEL6 and with that a new version of
CUPS. The previous version of CUPS I was using was 1.3.7 which I had no
problem adding printers from remotely. Here is my cupsd.conf file file.
# Show general information in error_log.
LogLevel info
PreserveJobFiles Yes
# Allow remote access
Port 631
# Disable printer sharing and shared printers.
Browsing Off
<Location />
# Allow remote administration...
Order allow,deny
Allow From All
</Location>
<Location /jobs>
Allow All
</Location>
<Location /classes/name>
Allow All
</Location>
<Location /printers>
Allow From All
</Location>
<Location /printers/name>
Allow From All
</Location>
<Location /admin>
AuthType Basic
AuthClass System
# Allow remote administration...
Order allow,deny
Allow From All
</Location>
# Allow remote access to the configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow From All
</Location>
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to
authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes
Enable-Printer Disable-Printer Pause-Printer-After-Current-Job
Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer
Restart-Printer Shutdown-Printer Startup-Printer Promote-Job
Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class
CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default
CUPS-Add-Device CUPS-Delete-Device>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
--
David Rider
IT Manager
Weldon Parts Inc.
(405) 254-4503
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
More information about the cups
mailing list