Bug 223770 - s-c-p mangles windows domain logons
s-c-p mangles windows domain logons
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
: Reopened
Depends On:
Blocks: FC6Update
  Show dependency treegraph
 
Reported: 2007-01-22 05:40 EST by Ralf Ertzinger
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:53:53 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 Ralf Ertzinger 2007-01-22 05:40:57 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):
system-config-printer-0.7.38-1.fc7

How reproducible:
Always

Steps to Reproduce:
1. Add a new SMB printer
2. Enter domain\username as logon name
3. Inspect /etc/cup/printers.conf after applying
  
Actual results:
\ gets translated to %5D, which is wrong (%5C is correct)

Expected results:
Translate to %5C (or do not translate at all)

Additional info:
Comment 1 Tim Waugh 2007-01-22 12:19:20 EST
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?
Comment 2 Ralf Ertzinger 2007-01-24 04:01:42 EST
Updated to current Rawhide (no FC6 systems, sorry).

system-config-printer-0.7.49-1.fc7
cups-1.2.7-7.fc7

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"
Comment 3 Tim Waugh 2007-01-24 07:47:12 EST
Oops, fixed in CVS.
Comment 4 Tim Waugh 2007-02-08 05:22:17 EST
Built in devel as 0.7.50-1.fc7.

Test update for FC6: 0.7.50-1.fc6.
Comment 5 Fedora Update System 2007-02-14 14:59:20 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.