Bug 516460 - CUPS fails to share printers due to missing protocol configuration.
Summary: CUPS fails to share printers due to missing protocol configuration.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 11
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-09 21:47 UTC by Igor Pires Soares
Modified: 2009-08-15 08:27 UTC (History)
2 users (show)

Fixed In Version: 1.4-0.rc1.15.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-15 08:27:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Missing protocol configuration (54.37 KB, image/png)
2009-08-09 21:47 UTC, Igor Pires Soares
no flags Details
Working cupsd.conf (2.87 KB, application/octet-stream)
2009-08-10 17:55 UTC, Igor Pires Soares
no flags Details
Non-working cupsd.conf (2.87 KB, application/octet-stream)
2009-08-10 17:58 UTC, Igor Pires Soares
no flags Details


Links
System ID Private Priority Status Summary Last Updated
CUPS Bugs and Features 3287 0 None None None Never

Description Igor Pires Soares 2009-08-09 21:47:26 UTC
Created attachment 356823 [details]
Missing protocol configuration

Description of problem:
CUPS isn't selecting the CUPS or LDAP protocols by default when trying to configure the server to publish printers in the network. This issue affects the CUPS web interface and the system-config-printer application as well.

Version-Release number of selected component (if applicable):
cups-1.4-0.rc1.14.fc11.x86_64

How reproducible:
I was able to reproduce it once within the web interface and many times using system-config-printer.

Steps to Reproduce:
1. Go to http://localhost:631/admin (or system-config-printer server settings).
2. Select "Share printers connected to this system" and "Allow printing from the Internet"
3. Add a new printer and share it.


Actual results:
The printer won't we published for the network. An additional step is required to make it work properly: the user has to manually mark the CUPS protocol in the advanced server configuration options in order to make it work right.

Expected results:
Would be enough to select "Share printers connected to this system" and "Allow printing from the Internet". No additional steps should be required.

Additional info:
Since the system-config-printer application doesn't provide a way to select which protocol to use, it is impossible to share printers using it, although there is no error dialog. The user needs to use the CUPS web interface to select the CUPS protocol manually anyway.

Comment 1 Tim Waugh 2009-08-10 09:06:23 UTC
The default configuration uses CUPS browsing so that has been altered some how.  The system-config-printer interface does not touch that setting, but the web interface does.

Can you please attach your /etc/cups/cupsd.conf file?

Comment 2 Igor Pires Soares 2009-08-10 17:55:05 UTC
Created attachment 356929 [details]
Working cupsd.conf

Configured using the web interface and selecting the CUPS protocol manually in the advanced server settings.

Comment 3 Igor Pires Soares 2009-08-10 17:58:43 UTC
Created attachment 356930 [details]
Non-working cupsd.conf

Configured using system-config-printer.

Comment 4 Tim Waugh 2009-08-10 21:18:18 UTC
Starting from the working configuration, which incidentally is the same as the default configuration regarding this option, how do you get the non-working configuration by using system-config-printer?

Comment 5 Igor Pires Soares 2009-08-10 22:46:14 UTC
I get the non-working configuration using system-config-printer when I select the options "Publish shared printers connected to this system" and "Allow printing from the Internet", exactly as in the attached screenshot. The tricky thing is that the problem only appears when I set these options starting from a non shared configuration. If I configure the server to share printers using the advanced options in the web interface and then try to overwrite theses settings using s-c-printer it works ok.

Comment 6 Tim Waugh 2009-08-11 07:22:19 UTC
OK I see it now:

1. Use the CUPS web interface to uncheck 'Share printers ...' and click 'Change Settings'.
2. Use system-config-printer to check 'Share printers ...' and click OK.

This leaves the BrowseLocalProtocols line in cupsd.conf empty.

Comment 7 Fedora Update System 2009-08-11 22:40:54 UTC
cups-1.4-0.rc1.15.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cups'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8133

Comment 8 Igor Pires Soares 2009-08-12 20:19:53 UTC
cups-1.4-0.rc1.15.fc11 fixes this. Thanks Tim.

Comment 9 Fedora Update System 2009-08-15 08:26:52 UTC
cups-1.4-0.rc1.15.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.