Red Hat Bugzilla – Bug 223770
s-c-p mangles windows domain logons
Last modified: 2007-11-30 17:11:53 EST
Description of problem:
When adding a SMP printer one can pass a logon name and password to s-c-p in
order to access the printer. The username field accepts domain logon notation
(domain\username, which ought to be documented somewhere). Somehow this gets
mangled by s-c-p, and domain%5Dusername is being written to the config file,
which translates to domain]username, and subsequently does not work as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add a new SMB printer
2. Enter domain\username as logon name
3. Inspect /etc/cup/printers.conf after applying
\ gets translated to %5D, which is wrong (%5C is correct)
Translate to %5C (or do not translate at all)
It has to be translated in order to make the URI. But I get %5C here with
system-config-printer-0.7.49-1.fc6 and cups-1.2.7-1.7.fc6.
Could you try with either current FC6 or current rawhide?
Updated to current Rawhide (no FC6 systems, sorry).
Still the same behaviour.
a) open s-c-p
b) select a SMB printer from the list, click on the "Change" button next to the
"Device URI" field
c) In the new window, enter "Domain\User" into the Username field (and the
password, of course)
d) Click on "Verify" (this succeeds)
e) Click "Apply"
f) Repeat step b)
g) The Username field now contains "Domain]User"
Oops, fixed in CVS.
Built in devel as 0.7.50-1.fc7.
Test update for FC6: 0.7.50-1.fc6.
Fixed in update: system-config-printer-0.7.52-1.fc6