Bug 87748

Summary: SMB printing config adds '\' to escape special characters in passwords
Product: [Retired] Red Hat Linux Reporter: Phil Sharfstein <landphil2k>
Component: redhat-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:52:25 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 Phil Sharfstein 2003-04-02 00:25:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
When you enter a password in the printconf SMB Share queue type it automatically
adds a '\' to escape special characters.  This '\' goes into the
/var/spool/lpd/PRINTQ/script.cfg file, and is sent to
/usr/share/printconf/util/smbprint, which does not work, since the password has
an extra '\' in it.


For example: if you enter

pass!word

as your password in printconf, it will show up as

password="pass\!word"

in script.cfg.

Version-Release number of selected component (if applicable):
printconf-gui-0.4.24

How reproducible:
Always

Steps to Reproduce:
1.Create a SMB queue printer in printconf 
2.Enter a password with a ! character.
3.I don't know if any other chars have the same problem
    

Additional info:

Comment 1 Tim Waugh 2003-04-02 11:11:39 UTC

*** This bug has been marked as a duplicate of 80784 ***

Comment 2 Red Hat Bugzilla 2006-02-21 18:52:25 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.