mounting a CIFS share fails in localized environment with non-english password
- by user3684819
A windows host creates a CIFS share and gives access to newuser (newuser is the user on windows host)
newuser's password is set as UUUU*123
Windows host has a French Locale installed
Now on linux host a mount command is given as follows (Linux host also has a french locale installed)
mount -v -t cifs \iwf1113140.ind.hp.com\fl -o username=newuser,password=UUUU*123,ver=1,iocharset=utf8,osec=ntlmv2 /some_share_path
The mount command fails with mount error[13] : permission denied. If the password is pure english say 'test123' mount succeeds.
following is the locale output.
LANG=fr_FR.utf8
Is there any idea why this may be happening?