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:
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). 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"
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