Bug 80784
Summary: | In SMB printer configuration, password escape character ends up in the password string | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ari Inki <ari.inki> |
Component: | redhat-config-printer | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | landphil2k |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | athlon | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-01-27 14:54:21 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: |
Plus the variables should be referenced as "$share", to avoid share='x`rm -rf /usr`y' surprises (generally, any shell metacharacters). Oops, make that x='a b' surprises. 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. |
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 /usr/share/printconf/util/smbprint 84c84 < #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): How reproducible: Always 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. Additional info: