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

Latrell Wang 王獻綱 Latrell.Wang at zyxel.com.tw
Tue Feb 6 11:04:48 GMT 2007


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.



More information about the samba mailing list