Bug 77999 - When a password with the # sign is used it does not recognise it.
When a password with the # sign is used it does not recognise it.
Product: Red Hat Linux
Classification: Retired
Component: samba (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Nalin Dahyabhai
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2002-11-16 22:56 EST by P H
Modified: 2007-04-18 12:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-23 14:18:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description P H 2002-11-16 22:56:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Description of problem:
When a password with the # sign is used it does not recognise it.
When i try to login the swat with the root password having a # sign in it, it 
does not recognise the password.
Same if ftping or telneting to the linux box or out to another box.
Its like it is send a different symbol instead of the # sign.
If i type a # sign in the the terminal window I see a # sign, it seems to be 
only in the password where the problem is
I have the Keyboard set to a UK keyboard.

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

How reproducible:

Steps to Reproduce:
1.Use The # sign in a password to access swat or telnet or ftp

Actual Results:  access denied

Expected Results:  access granted

Additional info:
Comment 1 Andrew Bartlett 2002-12-28 19:29:42 EST
might be due to URL encoding - I'll have a look at it
Comment 2 Andrew Bartlett 2003-01-26 18:56:38 EST
Actually, this is sounding like a generic 'code page' issue.  Should we convert
passwords between code pages prior to checking them - which is fine for SWAT, but 
only in 3.0.  However, things like FTP are a bit different.  (and not relevent

Andrew Bartlett
Comment 3 Andrew Bartlett 2003-02-01 01:22:52 EST
I've commited a change to Samba HEAD that should convert your username/password
into our 'unix' charset.   I have no idea if it would actually help, as it
depends very much on what charset the password was hashed in, but it seems a
better idea than just assuming it doesn't matter.

Note You need to log in before you can comment on or make changes to this bug.