From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202
Description of problem:
Try to configure a SMB printer to use via the redhat-config-printer-gui. If the
SMB password contains a character which usually is escaped, the escape character
ends up in the password string. To verify enable smbprint.log in
< #echo $share $password $translate $x_command > /tmp/smbprint.log
> echo $share $password $translate $x_command > /tmp/smbprint.log
and see what ends up in the smbprint.log
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. SMB password with e.g. '!' character
2. Try to use a SMB printer with the account which has '!' in the pwd
3. '!' is incorrectly escaped, with the escape character in the pwd
Actual Results: Failure to perform requested operation & account lockout.
Expected Results: Ability to perform requested operation.
Plus the variables should be referenced as "$share",
to avoid share='x`rm -rf /usr`y' surprises (generally,
any shell metacharacters).
Oops, make that
Using LPRng, right?
Right. Using LPRng.
'!' was being mistakenly escaped. Other characters need escaping though.
Fixed package is redhat-config-printer-0.6.41-1.
*** Bug 87748 has been marked as a duplicate of this bug. ***