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.
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?
Created attachment 356929 [details] Working cupsd.conf Configured using the web interface and selecting the CUPS protocol manually in the advanced server settings.
Created attachment 356930 [details] Non-working cupsd.conf Configured using system-config-printer.
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?
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.
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.
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
cups-1.4-0.rc1.15.fc11 fixes this. Thanks Tim.
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.