Bug 203149

Summary: smb: URIs get sanitized
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: system-config-printerAssignee: Florian Festi <ffesti>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ffesti
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.26-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-23 17:18:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Waugh 2006-08-18 17:00:24 UTC
Version-Release number of selected component (if applicable):
0.7.25-1

When editing an SMB queue, we fetch the printer attributes and use the
device-uri attribute to display the URI for editing.  However: CUPS gives us a
'sanitized' (i.e. without username/password) URI here.  I haven't tested to see
how much of a problem this is; in particular, I don't know whether it is
possible to accidentally overwrite the authentication details without explicitly
changing the URI.

The only way I can see to get the original URI is to fetch printers.conf and
parse it (ick).

It would be really great to be able to retrieve the authentication details.  In
the main printer tab we can show our own sanitized URI (using an ellipsis to
show that the information has been removed).  If we show an ellipsis in that
text entry we ought to make it uneditable too.

Comment 1 Tim Waugh 2006-08-23 17:18:31 UTC
ffesti's fix built into 0.7.26 (thanks!).