Latrell Wang 王獻綱
2007-Feb-06 11:05 UTC
[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.
Latrell Wang 王獻綱
2007-Feb-08 01:04 UTC
[Samba] Unicode support--case sensitive in share name
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@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@zyxel.com.tw> To: samba@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/