[Samba] Unicode support--case sensitive in share name

Latrell Wang 王獻綱 Latrell.Wang at zyxel.com.tw
Thu Feb 8 01:03:31 GMT 2007


It seems to be the problem with upper.dat and lower.dat. I used strace and found I missed the two files. After copy the two files, the transformation is OK.

Thanks,
Latrell.

-----Original Message-----
From: Don McCall [mailto:donmccall1 at yahoo.com] 
Sent: Tuesday, February 06, 2007 9:25 PM
To: Latrell Wang 王獻綱
Subject: Re: [Samba] Unicode support--case sensitive in share name

Hi,
The only time I have seen this is on filenames with german (or portugese, actually) characters.  And it only happened if the client and server were sending ascii, instead of unicode, like the older win95/98 clients will do.  Check the version of you samba server, and what client you are using to access the share - unless they negotiate unicode over the wire, I would expect this problem.


----- Original Message ----
From: Latrell Wang 王獻綱 <Latrell.Wang at zyxel.com.tw>
To: samba at lists.samba.org
Sent: Tuesday, February 6, 2007 6:04:48 AM
Subject: [Samba] Unicode support--case sensitive in share name


Hi all:



I create one share named grôzer but the share can’t be accessed.I looked into the log, and find the share name will be transformed to upper case and then lower case. The ASCII can be transformed in between successfully, but German can’t. It leaded to access failed. I also tried the upper case share grÔzer, and it works successfully. It seems the lower case can’t be transformed back from upper case.

The log is as follows:



[2007/02/06 18:59:46, 5] lib/username.c:Get_Pwnam_internals(234)

  Trying _Get_Pwnam(), username as lowercase is grÔzer

[2007/02/06 18:59:46, 5] lib/username.c:Get_Pwnam_internals(252)

  Trying _Get_Pwnam(), username as uppercase is GRÔZER

[2007/02/06 18:59:46, 5] lib/username.c:Get_Pwnam_internals(261)

  Checking combinations of 0 uppercase letters in grÔzer

[2007/02/06 18:59:46, 5] lib/username.c:Get_Pwnam_internals(267)

  Get_Pwnam_internals didn't find user [grÔzer]!

[2007/02/06 18:59:46, 3] smbd/service.c:find_service(151)

  checking for home directory grÔzer gave (NULL)

[2007/02/06 18:59:46, 3] smbd/service.c:find_service(208)

  find_service() failed to find service grÔzer

[2007/02/06 18:59:46, 0] smbd/service.c:make_connection(851)

  latrellpc (172.23.26.17) couldn't find service grÔzer

[2007/02/06 18:59:46, 3] smbd/error.c:error_packet(146)

  error packet at smbd/reply.c(672) cmd=117 (SMBtconX) NT_STATUS_BAD_NETWORK_NAME 



Thanks,

Latrell.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/


More information about the samba mailing list