Red Hat Bugzilla – Bug 1221157
CUPS backend checks wrong port for remote printers
Last modified: 2015-11-19 03:18:22 EST
Description of problem: When CUPS backend checks connection to remote CUPS server, it calls ippPort() to get port to which it tries to connect. This is wrong since the remote server can have different port from the one defined locally. This is similar problem to the one from the bug #909454 but it needs to have cups-browsed service active to cause a problem because browsing subsystem has changed since then (it uses DNSSD now). Steps to Reproduce: 1. set sharing of printers on a remote server (RHEL6 preferably because it uses CUPS protocol for browsing) and use a non-standard port number 2. point your local /etc/cups/cup-browsed.conf to the server via BrowsePoll (the name of the remote CUPS server has to be resolvable) 3. try to select a printer from the server in gtk print dialog Actual results: "Getting printer information failed" and the 'Print' button is insensitive. Expected results: The dialog gets the information and the 'Print' button is sensitive. Additional info: possible duplicate is #1154038 (has to be confirmed yet)
Finally managed to setup a proper configuration for this issue internally and got a remote (port 63101) printer discovered via cups-browsed using the cups protocol. Printer is visible in local GTK3 print dialogs, information is available and Print button available. The issue appears to be fixed for GTK3 too.
With my setup, got issue reproduced on the older version of GTK3 and all is okay after update to gtk3-3.14.13-13.el7.x86_64. Verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2116.html