[Samba] 3.0.8pre1, encoding problem?

Dmitry Melekhov dm at belkam.com
Mon Oct 4 03:57:39 GMT 2004


Hello!

I just wanted to migrate one of our 3.0.2a servers to 3.0.8pre1 and 
found that all is OK win WinXP, but there is problem with WinMe.
When user tries to access directory with name Договоры (Contracts) here 
is what I see on log:

[2004/10/04 08:45:01, 5] smbd/filename.c:unix_convert(108)
  unix_convert called on file "ДОГОВОРЫ"
[2004/10/04 08:45:01, 10] smbd/statcache.c:stat_cache_lookup(210)
  stat_cache_lookup: lookup failed for name [ДОГОВОРЫ]
[2004/10/04 08:45:01, 5] smbd/filename.c:unix_convert(179)
  unix_convert begin: name = ДОГОВОРЫ, dirpath = , start = ДОГОВОРЫ
[2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled(270)
  is_mangled ДОГОВОРЫ ?
[2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled_component(209)
  is_mangled_component ДОГОВОРЫ (len 8) ?
[2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled(270)
  is_mangled ДОГОВОРЫ ?
[2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled_component(209)
  is_mangled_component ДОГОВОРЫ (len 8) ?
[2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled(270)
  is_mangled ДОГОВОРЫ ?
[2004/10/04 08:45:01, 10] smbd/mangle_hash2.c:is_mangled_component(209)
  is_mangled_component ДОГОВОРЫ (len 8) ?
[2004/10/04 08:45:01, 5] smbd/filename.c:unix_convert(328)
  New file ДОГОВОРЫ
[2004/10/04 08:45:01, 3] smbd/reply.c:reply_getatr(652)
  stat of ДОГОВОРЫ failed (No such file or directory)
[2004/10/04 08:45:01, 10] smbd/trans2.c:set_bad_path_error(2223)
  set_bad_path_error: err = 2 bad_path = 0
[2004/10/04 08:45:01, 3] smbd/error.c:error_packet(105)
  error string = No such file or directory


I.e. directory is in upper case. I.e. CONTRACTS instead of Contracts.
Certanly, such directory can't be opened ;-)

Any ideas how to fix this?




More information about the samba mailing list