Tompkins, Michael
2015-Jan-29 12:47 UTC
[Samba] Samba 4.0.7 doesn't work with Russian credentials
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
?
?
-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org]
Sent: Wednesday, January 28, 2015 7:14 PM
To: Tompkins, Michael
Cc: samba at lists.samba.org; USA Xerox Samba
Subject: Re: [Samba] Samba 4.0.7 doesn't work with Russian credentials
On Wed, Jan 28, 2015 at 07:38:26PM +0000, Tompkins, Michael
wrote:> I am trying to use smbclient with a Russian login and it refuses the
connection. This is with a smbclient compiled for our printers. If I use the
linux version, downloaded from the samba site, it works correctly. I'm
thinking it's how I have it configured, but I can't tell from the
wireshark trace (included). Any help where I would look specifically in the code
would be appreciated.
ENOWHERENEARENOUGHINFORMATIONTOBEABLETOEVENSTARTTOHELP :-).
How does it 'refuse the connection' ?
What server are you connecting to ?
Does the username or password contain cyrillic characters ?
I could go on, but I'm sure you get the idea :-).
Jeremy.
Tompkins, Michael
2015-Feb-02 16:01 UTC
[Samba] Samba 4.0.7 doesn't work with Russian credentials
Resending for assistance on this issue.
Thank you in advance,
- Mike
?
-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Tompkins, Michael
Sent: Thursday, January 29, 2015 7:48 AM
To: Jeremy Allison
Cc: samba at lists.samba.org; USA Xerox Samba
Subject: Re: [Samba] Samba 4.0.7 doesn't work with Russian credentials
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
?
?
-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org]
Sent: Wednesday, January 28, 2015 7:14 PM
To: Tompkins, Michael
Cc: samba at lists.samba.org; USA Xerox Samba
Subject: Re: [Samba] Samba 4.0.7 doesn't work with Russian credentials
On Wed, Jan 28, 2015 at 07:38:26PM +0000, Tompkins, Michael
wrote:> I am trying to use smbclient with a Russian login and it refuses the
connection. This is with a smbclient compiled for our printers. If I use the
linux version, downloaded from the samba site, it works correctly. I'm
thinking it's how I have it configured, but I can't tell from the
wireshark trace (included). Any help where I would look specifically in the code
would be appreciated.
ENOWHERENEARENOUGHINFORMATIONTOBEABLETOEVENSTARTTOHELP :-).
How does it 'refuse the connection' ?
What server are you connecting to ?
Does the username or password contain cyrillic characters ?
I could go on, but I'm sure you get the idea :-).
Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Tompkins, Michael
2015-Feb-09 13:23 UTC
[Samba] Samba 4.0.7 doesn't work with Russian credentials
Resending for assistance on this issue.
Thank you in advance,
- Mike
?
-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Tompkins, Michael
Sent: Thursday, January 29, 2015 7:48 AM
To: Jeremy Allison
Cc: samba at lists.samba.org; USA Xerox Samba
Subject: Re: [Samba] Samba 4.0.7 doesn't work with Russian credentials
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
?
?
-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org]
Sent: Wednesday, January 28, 2015 7:14 PM
To: Tompkins, Michael
Cc: samba at lists.samba.org; USA Xerox Samba
Subject: Re: [Samba] Samba 4.0.7 doesn't work with Russian credentials
On Wed, Jan 28, 2015 at 07:38:26PM +0000, Tompkins, Michael
wrote:> I am trying to use smbclient with a Russian login and it refuses the
connection. This is with a smbclient compiled for our printers. If I use the
linux version, downloaded from the samba site, it works correctly. I'm
thinking it's how I have it configured, but I can't tell from the
wireshark trace (included). Any help where I would look specifically in the code
would be appreciated.
ENOWHERENEARENOUGHINFORMATIONTOBEABLETOEVENSTARTTOHELP :-).
How does it 'refuse the connection' ?
What server are you connecting to ?
Does the username or password contain cyrillic characters ?
I could go on, but I'm sure you get the idea :-).
Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Andrew Bartlett
2015-Feb-10 07:55 UTC
[Samba] Samba 4.0.7 doesn't work with Russian credentials
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 right. 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