[cups] Unable to remotely add printer on version 1.4.2

David Rider david at weldonparts.com
Tue May 19 13:49:45 PDT 2015


When I click the "Add Printer" button this message appears in the error_log

E [19/May/2015:15:48:09 -0500] SSL shutdown failed: Error in the push 
function.
I [19/May/2015:15:48:32 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" 
(pid=1784)
I [19/May/2015:15:48:32 -0500] Started 
"/usr/lib/cups/daemon/cups-deviced" (pid=1785)


On 5/19/2015 3:26 PM, Helge Blischke wrote:
> What sort of response do you get when trying to do admin tasks from remote?
> What error messages are written to the error_log?
>
>> Am 19.05.2015 um 18:50 schrieb David Rider <david at weldonparts.com>:
>>
>> No luck, after making the changes I still cannot add a printer for the web interface on a remote machine.
>>
>> On 5/19/2015 11:25 AM, Helge Blischke wrote:
>>> Replace the „Allow All“ by „Allow @LOCAL“ to allow (administrative) access from all
>>> local network interfaces.
>>>
>>> Or, from the web interface on the local machine, check „allow remote administration“
>>> in the administration tab.
>>>
>>> Helge
>>>
>>>> Am 19.05.2015 um 16:54 schrieb David Rider <david at weldonparts.com>:
>>>>
>>>> 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
>>>>
>>>> _______________________________________________
>>>> cups mailing list
>>>> cups at cups.org
>>>> https://www.cups.org/mailman/listinfo/cups
>>> _______________________________________________
>>> cups mailing list
>>> cups at cups.org
>>> https://www.cups.org/mailman/listinfo/cups
>> -- 
>> 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
>>
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups

-- 
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