Red Hat Bugzilla – Bug 203149
smb: URIs get sanitized
Last modified: 2007-11-30 17:11:40 EST
Version-Release number of selected component (if applicable):
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.
ffesti's fix built into 0.7.26 (thanks!).