| Summary: | Adding a network printer within gnome setting fails | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rolle <rolle.hoffmann> |
| Component: | control-center | Assignee: | Marek Kašík <mkasik> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | control-center-maint, fmuellner, jpopelka, mkasik, ofourdan, rstrode, tiagomatos, twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-29 13:02:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Rolle
2013-11-19 14:38:47 UTC
Hi Rolle, maybe this is a problem with authentication info. Could you have a look into /etc/cups/printers.conf and find line starting with "DeviceURI"? Does it contain your username and password for the samba server for the printer configured by system-config-printer ? Regards Marek Ah, you're right. With system-config-printer the generated DeviceURI have the loginname and password included: smb://myname:mypassword@servercomputer/Samsung With the gnome control center the generated DeviceURI doesn't have the loginname nor the password included: smb://servercomputer/Samsung The rest of the files are nearly identically. It differs in the UUID, the StateTime and the control-center-version has an additionaly line "Option media iso-a4". I think this is ok. A security remark: The loginname and password are plain text. So the printers.conf is only readable for root but I think it's not so nice to store it as plain text. That's why system-config-printer would default to omitting the credentials and instead watching for jobs requiring authentication (in system-config-printer-applet) and giving a notification for such jobs. Marek, it looks like GNOME doesn't do this, which is a pretty major regression. :-( Here's a link to the system-config-printer code for this. https://git.fedorahosted.org/cgit/system-config-printer.git/tree/jobviewer.py#n908 (In reply to Rolle from comment #2) > Ah, you're right. > > With system-config-printer the generated DeviceURI have the loginname and > password included: > smb://myname:mypassword@servercomputer/Samsung > > With the gnome control center the generated DeviceURI doesn't have the > loginname nor the password included: > smb://servercomputer/Samsung Yeah, we've decided to not store the password in the file so this is the cause of the problem. Does the print dialog ask you for password if you print from e.g. evince or gedit? (gtk+ should recognize jobs needing auth info) (In reply to Tim Waugh from comment #3) > Marek, it looks like GNOME doesn't do this, which is a pretty major > regression. :-( I'll look at how to solve this. > Does the print dialog ask you for password if you print from e.g. evince
> or gedit? (gtk+ should recognize jobs needing auth info)
No. There is no dialog or something else. No information for the user, that there could be a problem.
Addition to comment 5: If I print a document I can see the failed status in the printer queue. But I must know this and open it manually. Gnome Control Center -> Select the printer -> show the print jobs: Status is "Zurückgehalten" (in english maybe "Stopped"?) system-config-printer -> Select the printer -> look at the printer status: "Untätig - Tree connect failed (NT_STATUS_ACCESS_DENIED)" I think this is very complicated to see. Are there no printer applet, like in Ubuntu 13.xx? The problem still exist in Fedora 21 alpha LiveCD. A duplicate(?) of this: bug 956216 The problem still exist in Fedora 21 Official Release. This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |