[Samba] Samba 4.0.7 doesn't work with Russian credentials

Andrew Bartlett abartlet at samba.org
Tue Feb 10 00:55:21 MST 2015

On Thu, 2015-01-29 at 12:47 +0000, Tompkins, Michael wrote:
> Sorry about the lack of info. So in the wireshark trace, our printer smbclient 4.0.7 sends a Unicode value in Russian of фыва with a password of Фыва123. The server rejects the login attempt with STATUS_LOGON_FAILURE. The second attempt is with the linux version smbclient 4.0.7, and the same credentials to the same server work.  The only thing I see different in the requests are the flags sent:
>     First trace:
>         Flags:
> 	1  Canonicalized Pathnames
>         Flags2:
> 	1 Long names used
> 	0 Security Signatures
> 	1 Extended Attributes
>         Capabilities:
> 	0 Large Files
> 	0 Dfs
> So the user and password are being sent via Unicode. To reproduce, the letters are just "asdf" on a Russian keyboard (I use winrus.com/keyboard.htm to type and then copy).   Does this help ?
> Thanks,
> - Mike

The network trace was stripped from the list.  Can you host it somewhere
or attach it to a bug and post the link here?

The difference between the printer and Linux may well be iconv
libraries, which would be strictly required to get the conversion

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list