Bug 227643 - username and password lost in DeviceURI after apply changes
username and password lost in DeviceURI after apply changes
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
6
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks: FC6Update
  Show dependency treegraph
 
Reported: 2007-02-07 05:48 EST by C. N. Tsang
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 0.7.52-1.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-15 04:55:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description C. N. Tsang 2007-02-07 05:48:12 EST
Description of problem:
-----------------------
for printers connected through samba, username and password in Device URI is
lost after apply changes using system-config-printer

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
system-config-printer-0.7.49-1.fc6
system-config-printer-libs-0.7.49-1.fc6

How reproducible:
-----------------
It can always be reproduced.

Steps to Reproduce:
1. start system-config-printer
2. select a printer, say HPLaserJ, the Device URI in the right hand side is
protected field showing something like smb://…/myserver/HPLaserJ
(The DeviceURI in file /etc/cups/printers.conf for this printer is showing
something like smb://myuser:mypass@/myserver/HPLaserJ)
3. Change any other field, say click on the Enabled checkbox to change from on
to off.
4. Click the Apply button.
5. Look at the file /etc/cups/printers.conf, the line for DeviceURI for this
printer now showing something like smb://…/myserver/HPLaserJ
6. The Device URI field in the right hand side of system-config-printer becomes
a input capable field
7. The printer is not functioning because of authentication failure.
  
Actual results:
---------------
After applying any changes in system-config-printer, the "username:password" in
DeviceURI in /etc/cups/printers.conf is changed to "…"


Expected results:
-----------------
After applying any changes in system-config-printer, it should display the
Device URI as something like smb://…/myserver/HPLaserJ but it should not change
the DeviceURI in /etc/cups/printers.conf to something like
smb://…/myserver/HPLaserJ (it should keep it as
smb://myuser:mypass@/myserver/HPLaserJ)

Additional info:
Comment 1 Tim Waugh 2007-02-07 08:26:36 EST
Fixed in CVS.
Comment 2 Tim Waugh 2007-02-08 05:23:27 EST
Please try 0.7.50-1.fc6 from updates-testing:

yum --enablerepo=updates-testing update 'system-config-printer*'
Comment 3 C. N. Tsang 2007-02-08 22:52:49 EST
Yes, the 0.7.50-1.fc6 from updates-testing has fixed the problem.
Comment 4 Tim Waugh 2007-02-09 05:51:50 EST
Great, thanks for testing.
Comment 5 Fedora Update System 2007-02-14 14:59:56 EST
Fixed in update: system-config-printer-0.7.52-1.fc6

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