[Samba] 2.2.8pre1 smbclient log in problem

Uno Engborg uno at webworks.se
Tue Feb 11 21:28:29 GMT 2003


Hi all samba coders. Glad to see that you work to improve samba.
I'm not sure if you got this message already, I got some wacation message at 
my last attempt to send. this mail.

I have a problem I would be very greatful if you could solve.
Certain international characters does not work as usernames when trying to log 
in to an NT4 file server. My problem is that in Swedish versions of NT the
"Administrator" username is translated and reads "Administratör". It seams 
that the "ö"  (Odiaresis) is not encoded properly.

I use Red Hat 8.0. It doesn't seam to matter what LANG setting I use in my 
shell. I have tried both sv_SE that uses iso-8859-1 ecoding  and sv_SE.utf8 
that is the default Red Hat encoding in the Swedish locale.

This problem was fixed in samba 2.2.4 but seams to be present in all other 
samba versions before and after version 2.2.4.

Example:

[root at odin SPECS]# smbclient -L 192.168.0.4 -U Administratör
added interface ip=192.168.0.19 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.203.1 bcast=192.168.203.255 nmask=255.255.255.0
session request to 192.168.0.4 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
session setup failed: NT_STATUS_LOGON_FAILURE



The user Administrator is present on the NT machine with ip 192.168.0.4
and the password I use contains only characters that is available in the 
enlish alphabet. So I guess it must be the username that is not encoded 
properly.


Regards
Uno Engborg



More information about the samba mailing list