When I try to create archive by WinRAR (2.x,3.x) with russian filename, I get message "..access denied.". But with english filenames - all is ok Samba 2.2.9 works fine. I know that other people confirm this bug. It's the big problem for me and my users. Sorry for my English
i have a same problem with Samba-3.0.4 and WinRAR 3.x: WinRAR cannot open russian filenames. smbd.log with log level=10: [2004/05/31 13:13:43, 10] lib/util.c:dump_data(1864) [000] 00 00 00 EC 03 00 00 00 00 5C 00 74 00 65 00 73 ...Л.... .\.t.e.s [010] 00 74 00 5C 00 40 04 43 04 41 04 41 04 3A 04 38 .t.\.@.C .A.A.:.8 [020] 04 39 04 2E 00 72 00 61 00 72 00 00 00 .9...r.a .r... [2004/05/31 13:13:43, 3] smbd/process.c:switch_message(685) switch message SMBtrans2 (pid 83259) [2004/05/31 13:13:43, 4] smbd/uid.c:change_to_user(186) change_to_user: Skipping user change - already user [2004/05/31 13:13:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(2331) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(114) unix_convert called on file "test/русский.rar" [2004/05/31 13:13:43, 10] smbd/statcache.c:stat_cache_lookup(251) stat_cache_lookup: lookup failed for name [TEST/РУССКИЙ.RAR] [2004/05/31 13:13:43, 10] smbd/statcache.c:stat_cache_lookup(281) stat_cache_lookup: lookup succeeded for name [TEST] -> [test] [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(177) unix_convert begin: name = test/русский.rar, dirpath = test, start = русский.rar [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled русский.rar ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component русский.rar (len 11) ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled русский.rar ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component русский.rar (len 11) ? [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: file.png [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled русский.rar ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component русский.rar (len 11) ? [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(312) New file русский.rar [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: test/русский.rar [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(2353) call_trans2qfilepathinfo: SMB_VFS_STAT of test/русский.rar failed (No such file or directory) [2004/05/31 13:13:43, 10] smbd/trans2.c:set_bad_path_error(2213) set_bad_path_error: err = 2 bad_path = 0 [2004/05/31 13:13:43, 3] smbd/error.c:error_packet(94) error string = No such file or directory [2004/05/31 13:13:43, 3] smbd/error.c:error_packet(118) error packet at smbd/trans2.c(2219) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND [2004/05/31 13:13:43, 5] lib/util.c:show_msg(456) [2004/05/31 13:13:43, 5] lib/util.c:show_msg(466) size=35 smb_com=0x32 smb_rcls=52 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51265 smb_tid=2 smb_pid=1288 smb_uid=101 smb_mid=8769 smt_wct=0 smb_bcc=0 [2004/05/31 13:13:43, 6] lib/util_sock.c:write_socket(432) write_socket(22,39) [2004/05/31 13:13:43, 6] lib/util_sock.c:write_socket(435) write_socket(22,39) wrote 39 [2004/05/31 13:13:43, 10] lib/util_sock.c:read_smb_length_return_keepalive(488) got smb length of 110 [2004/05/31 13:13:43, 6] smbd/process.c:process_smb(889) got message type 0x0 of len 0x6e [2004/05/31 13:13:43, 3] smbd/process.c:process_smb(890) Transaction 139 of length 114 [2004/05/31 13:13:43, 5] lib/util.c:show_msg(456) [2004/05/31 13:13:43, 5] lib/util.c:show_msg(466) size=110 smb_com=0x32 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=2 smb_pid=1288 smb_uid=101 smb_mid=8833 smt_wct=15 smb_vwv[ 0]= 42 (0x2A) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 2 (0x2) smb_vwv[ 3]= 40 (0x28) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 0 (0x0) smb_vwv[ 7]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 42 (0x2A) smb_vwv[10]= 68 (0x44) smb_vwv[11]= 0 (0x0) smb_vwv[12]= 0 (0x0) smb_vwv[13]= 1 (0x1) smb_vwv[14]= 5 (0x5) smb_bcc=45 [2004/05/31 13:13:43, 10] lib/util.c:dump_data(1864) [000] 02 00 00 EC 03 00 00 00 00 5C 00 74 00 65 00 73 ...Л.... .\.t.e.s [010] 00 74 00 5C 00 53 00 48 00 44 00 4F 00 43 00 56 .t.\.S.H .D.O.C.V [020] 00 57 00 2E 00 64 00 6C 00 6C 00 00 00 .W...d.l .l... [2004/05/31 13:13:43, 3] smbd/process.c:switch_message(685) switch message SMBtrans2 (pid 83259) [2004/05/31 13:13:43, 4] smbd/uid.c:change_to_user(186) change_to_user: Skipping user change - already user [2004/05/31 13:13:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(2331) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(114) unix_convert called on file "test/SHDOCVW.dll" [2004/05/31 13:13:43, 10] smbd/statcache.c:stat_cache_lookup(251) stat_cache_lookup: lookup failed for name [TEST/SHDOCVW.DLL] [2004/05/31 13:13:43, 10] smbd/statcache.c:stat_cache_lookup(281) stat_cache_lookup: lookup succeeded for name [TEST] -> [test] [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(177) unix_convert begin: name = test/SHDOCVW.dll, dirpath = test, start = SHDOCVW.dll [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled SHDOCVW.dll ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component SHDOCVW.dll (len 11) ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled SHDOCVW.dll ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component SHDOCVW.dll (len 11) ? [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: file.png [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled SHDOCVW.dll ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component SHDOCVW.dll (len 11) ? [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(312) New file SHDOCVW.dll [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: test/SHDOCVW.dll [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(2353) call_trans2qfilepathinfo: SMB_VFS_STAT of test/SHDOCVW.dll failed (No such file or directory) [2004/05/31 13:13:43, 10] smbd/trans2.c:set_bad_path_error(2213) set_bad_path_error: err = 2 bad_path = 0 [2004/05/31 13:13:43, 3] smbd/error.c:error_packet(94) error string = No such file or directory [2004/05/31 13:13:43, 3] smbd/error.c:error_packet(118) error packet at smbd/trans2.c(2219) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND [2004/05/31 13:13:43, 5] lib/util.c:show_msg(456) [2004/05/31 13:13:43, 5] lib/util.c:show_msg(466) size=35 smb_com=0x32 smb_rcls=52 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51265 smb_tid=2 smb_pid=1288 smb_uid=101 smb_mid=8833 smt_wct=0 smb_bcc=0 [2004/05/31 13:13:43, 6] lib/util_sock.c:write_socket(432) write_socket(22,39) [2004/05/31 13:13:43, 6] lib/util_sock.c:write_socket(435) write_socket(22,39) wrote 39 [2004/05/31 13:13:43, 10] lib/util_sock.c:read_smb_length_return_keepalive(488) got smb length of 86 [2004/05/31 13:13:43, 6] smbd/process.c:process_smb(889) got message type 0x0 of len 0x56 [2004/05/31 13:13:43, 3] smbd/process.c:process_smb(890) Transaction 140 of length 90 [2004/05/31 13:13:43, 5] lib/util.c:show_msg(456) [2004/05/31 13:13:43, 5] lib/util.c:show_msg(466) size=86 smb_com=0x32 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=2 smb_pid=1288 smb_uid=101 smb_mid=8897 smt_wct=15 smb_vwv[ 0]= 18 (0x12) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 2 (0x2) smb_vwv[ 3]= 40 (0x28) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 0 (0x0) smb_vwv[ 7]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 18 (0x12) smb_vwv[10]= 68 (0x44) smb_vwv[11]= 0 (0x0) smb_vwv[12]= 0 (0x0) smb_vwv[13]= 1 (0x1) smb_vwv[14]= 5 (0x5) smb_bcc=21 [2004/05/31 13:13:43, 10] lib/util.c:dump_data(1864) [000] 02 00 00 EC 03 00 00 00 00 5C 00 74 00 65 00 73 ...Л.... .\.t.e.s [010] 00 74 00 00 00 .t... [2004/05/31 13:13:43, 3] smbd/process.c:switch_message(685) switch message SMBtrans2 (pid 83259) [2004/05/31 13:13:43, 4] smbd/uid.c:change_to_user(186) change_to_user: Skipping user change - already user [2004/05/31 13:13:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(2331) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(114) unix_convert called on file "test" [2004/05/31 13:13:43, 10] smbd/statcache.c:stat_cache_lookup(281) stat_cache_lookup: lookup succeeded for name [TEST] -> [test] [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: test [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(2362) call_trans2qfilepathinfo test (fnum = -1) level=1004 call=5 total_data=0 [2004/05/31 13:13:43, 8] smbd/dosmode.c:dos_mode(270) dos_mode: test [2004/05/31 13:13:43, 8] smbd/dosmode.c:dos_mode_from_sbuf(151) dos_mode_from_sbuf returning d [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: test [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 8] smbd/dosmode.c:dos_mode(302) dos_mode returning d [2004/05/31 13:13:43, 10] smbd/trans2.c:call_trans2qfilepathinfo(2478) call_trans2qfilepathinfo: SMB_FILE_BASIC_INFORMATION [2004/05/31 13:13:43, 5] smbd/trans2.c:call_trans2qfilepathinfo(2488) SMB_QFBI - create: Mon May 31 13:13:19 2004 access: Mon May 31 13:13:43 2004 write: Mon May 31 13:13:19 2004 change: Mon May 31 13:13:19 2004 mode: 10 [2004/05/31 13:13:43, 9] smbd/trans2.c:send_trans2_replies(535) t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010 [2004/05/31 13:13:43, 9] smbd/trans2.c:send_trans2_replies(537) t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40 [2004/05/31 13:13:43, 6] lib/util_sock.c:write_socket(432) write_socket(22,104) [2004/05/31 13:13:43, 6] lib/util_sock.c:write_socket(435) write_socket(22,104) wrote 104 [2004/05/31 13:13:43, 10] lib/util_sock.c:read_smb_length_return_keepalive(488) got smb length of 110 [2004/05/31 13:13:43, 6] smbd/process.c:process_smb(889) got message type 0x0 of len 0x6e [2004/05/31 13:13:43, 3] smbd/process.c:process_smb(890) Transaction 141 of length 114 [2004/05/31 13:13:43, 5] lib/util.c:show_msg(456) [2004/05/31 13:13:43, 5] lib/util.c:show_msg(466) size=110 smb_com=0x32 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=2 smb_pid=1288 smb_uid=101 smb_mid=8961 smt_wct=15 smb_vwv[ 0]= 42 (0x2A) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 10 (0xA) smb_vwv[ 3]=16384 (0x4000) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 0 (0x0) smb_vwv[ 7]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 42 (0x2A) smb_vwv[10]= 68 (0x44) smb_vwv[11]= 0 (0x0) smb_vwv[12]= 0 (0x0) smb_vwv[13]= 1 (0x1) smb_vwv[14]= 1 (0x1) smb_bcc=45 [2004/05/31 13:13:43, 10] lib/util.c:dump_data(1864) [000] 02 00 00 16 00 56 05 07 00 04 01 00 00 00 00 5C .....V.. .......\ [010] 00 74 00 65 00 73 00 74 00 5C 00 66 00 69 00 6C .t.e.s.t .\.f.i.l [020] 00 65 00 2E 00 70 00 6E 00 67 00 00 00 .e...p.n .g... [2004/05/31 13:13:43, 3] smbd/process.c:switch_message(685) switch message SMBtrans2 (pid 83259) [2004/05/31 13:13:43, 4] smbd/uid.c:change_to_user(186) change_to_user: Skipping user change - already user [2004/05/31 13:13:43, 3] smbd/trans2.c:call_trans2findfirst(1355) call_trans2findfirst: dirtype = 22, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384 [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(114) unix_convert called on file "test/file.png" [2004/05/31 13:13:43, 10] smbd/statcache.c:stat_cache_lookup(281) stat_cache_lookup: lookup succeeded for name [TEST/FILE.PNG] -> [test/file.png] [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: test/file.png [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 5] smbd/trans2.c:call_trans2findfirst(1400) dir=test, mask = file.png [2004/05/31 13:13:43, 5] smbd/dir.c:start_dir(334) start_dir dir=test [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: test [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: file.png [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 3] smbd/dir.c:dptr_create(491) creating new dirptr 256 for path test, expect_close = 1 [2004/05/31 13:13:43, 4] smbd/trans2.c:call_trans2findfirst(1430) dptr_num is 256, wcard = file.png, attr = 22 [2004/05/31 13:13:43, 8] smbd/trans2.c:call_trans2findfirst(1435) dirpath=<test> dontdescend=<> [2004/05/31 13:13:43, 8] smbd/trans2.c:get_lanman2_dir_entry(879) get_lanman2_dir_entry:readdir on dirptr 0x827cd60 now at offset 1 [2004/05/31 13:13:43, 10] lib/ms_fnmatch.c:ms_fnmatch(240) ms_fnmatch(file.png,.) -> -1 [2004/05/31 13:13:43, 8] smbd/trans2.c:get_lanman2_dir_entry(879) get_lanman2_dir_entry:readdir on dirptr 0x827cd60 now at offset 2 [2004/05/31 13:13:43, 10] lib/ms_fnmatch.c:ms_fnmatch(240) ms_fnmatch(file.png,.) -> -1 [2004/05/31 13:13:43, 8] smbd/trans2.c:get_lanman2_dir_entry(879) get_lanman2_dir_entry:readdir on dirptr 0x827cd60 now at offset 3 [2004/05/31 13:13:43, 8] smbd/dosmode.c:dos_mode(270) dos_mode: test/file.png [2004/05/31 13:13:43, 8] smbd/dosmode.c:dos_mode_from_sbuf(151) dos_mode_from_sbuf returning a [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: test/file.png [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 8] smbd/dosmode.c:dos_mode(302) dos_mode returning a [2004/05/31 13:13:43, 5] smbd/trans2.c:get_lanman2_dir_entry(964) get_lanman2_dir_entry found test/file.png fname=file.png [2004/05/31 13:13:43, 10] smbd/trans2.c:get_lanman2_dir_entry(1048) get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO [2004/05/31 13:13:43, 5] smbd/trans2.c:call_trans2findfirst(1481) call_trans2findfirst - (2) closing dptr_num 256 [2004/05/31 13:13:43, 4] smbd/dir.c:dptr_close_internal(224) closing dptr key 256 [2004/05/31 13:13:43, 9] smbd/trans2.c:send_trans2_replies(535) t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010 [2004/05/31 13:13:43, 9] smbd/trans2.c:send_trans2_replies(537) t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112 [2004/05/31 13:13:43, 6] lib/util_sock.c:write_socket(432) write_socket(22,184) [2004/05/31 13:13:43, 6] lib/util_sock.c:write_socket(435) write_socket(22,184) wrote 184 [2004/05/31 13:13:43, 4] smbd/trans2.c:call_trans2findfirst(1511) SMBtrans2 mask=file.png directory=test dirtype=22 numentries=1 [2004/05/31 13:13:43, 10] lib/util_sock.c:read_smb_length_return_keepalive(488) got smb length of 120 [2004/05/31 13:13:43, 6] smbd/process.c:process_smb(889) got message type 0x0 of len 0x78 [2004/05/31 13:13:43, 3] smbd/process.c:process_smb(890) Transaction 142 of length 124 [2004/05/31 13:13:43, 5] lib/util.c:show_msg(456) [2004/05/31 13:13:43, 5] lib/util.c:show_msg(466) size=120 smb_com=0xa2 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=2 smb_pid=1288 smb_uid=101 smb_mid=9025 smt_wct=24 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]=57054 (0xDEDE) smb_vwv[ 2]= 8704 (0x2200) smb_vwv[ 3]= 5632 (0x1600) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 0 (0x0) smb_vwv[ 7]=40704 (0x9F00) smb_vwv[ 8]= 513 (0x201) smb_vwv[ 9]= 0 (0x0) smb_vwv[10]= 0 (0x0) smb_vwv[11]= 0 (0x0) smb_vwv[12]= 0 (0x0) smb_vwv[13]= 0 (0x0) smb_vwv[14]= 0 (0x0) smb_vwv[15]= 256 (0x100) smb_vwv[16]= 0 (0x0) smb_vwv[17]= 256 (0x100) smb_vwv[18]= 0 (0x0) smb_vwv[19]=17408 (0x4400) smb_vwv[20]= 0 (0x0) smb_vwv[21]= 512 (0x200) smb_vwv[22]= 0 (0x0) smb_vwv[23]= 768 (0x300) smb_bcc=37 [2004/05/31 13:13:43, 10] lib/util.c:dump_data(1864) [000] 00 5C 00 74 00 65 00 73 00 74 00 5C 00 40 04 43 .\.t.e.s .t.\.@.C [010] 04 41 04 41 04 3A 04 38 04 39 04 2E 00 72 00 61 .A.A.:.8 .9...r.a [020] 00 72 00 00 00 .r... [2004/05/31 13:13:43, 3] smbd/process.c:switch_message(685) switch message SMBntcreateX (pid 83259) [2004/05/31 13:13:43, 4] smbd/uid.c:change_to_user(186) change_to_user: Skipping user change - already user [2004/05/31 13:13:43, 10] smbd/nttrans.c:reply_ntcreate_and_X(609) reply_ntcreateX: flags = 0x16, desired_access = 0x2019f file_attributes = 0x0, share_access = 0x1, create_disposition = 0x1 create_options = 0x44 root_dir_fid = 0x0 [2004/05/31 13:13:43, 10] smbd/nttrans.c:map_create_disposition(343) map_create_disposition: Mapped create_disposition 0x1 to 0x1 [2004/05/31 13:13:43, 10] smbd/nttrans.c:map_share_mode(482) map_share_mode: Mapped desired access 0x2019f, share access 0x1, file attributes 0x0 to open_mode 0x22 [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(114) unix_convert called on file "test/русский.rar" [2004/05/31 13:13:43, 10] smbd/statcache.c:stat_cache_lookup(251) stat_cache_lookup: lookup failed for name [TEST/РУССКИЙ.RAR] [2004/05/31 13:13:43, 10] smbd/statcache.c:stat_cache_lookup(281) stat_cache_lookup: lookup succeeded for name [TEST] -> [test] [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(177) unix_convert begin: name = test/русский.rar, dirpath = test, start = русский.rar [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled русский.rar ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component русский.rar (len 11) ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled русский.rar ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component русский.rar (len 11) ? [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: file.png [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled(269) is_mangled русский.rar ? [2004/05/31 13:13:43, 10] smbd/mangle_hash2.c:is_mangled_component(208) is_mangled_component русский.rar (len 11) ? [2004/05/31 13:13:43, 5] smbd/filename.c:unix_convert(312) New file русский.rar [2004/05/31 13:13:43, 3] smbd/dosmode.c:unix_mode(111) unix_mode(test/русский.rar) returning 0744 [2004/05/31 13:13:43, 5] smbd/files.c:file_new(122) allocated file structure 341, fnum = 4437 (2 used) [2004/05/31 13:13:43, 10] smbd/open.c:open_file_shared1(833) open_file_shared: fname = test/русский.rar, dos_attrs = 0, share_mode = 22, ofun = 1, mode = 744, oplock request = 3 [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1508) is_in_path: test/русский.rar [2004/05/31 13:13:43, 8] lib/util.c:is_in_path(1512) is_in_path: no name list. [2004/05/31 13:13:43, 4] smbd/open.c:open_file_shared1(1010) calling open_file with flags=0x2 flags2=0x0 mode=0744 [2004/05/31 13:13:43, 10] smbd/open.c:fd_open(45) fd_open: name test/русский.rar, flags = 02 mode = 0744, fd = -1. No such file or directory [2004/05/31 13:13:43, 3] smbd/open.c:open_file(173) Error opening file test/русский.rar (No such file or directory) (local_flags=2) (flags=2) [2004/05/31 13:13:43, 5] smbd/files.c:file_free(385) freed files structure 4437 (1 used) [2004/05/31 13:13:43, 10] smbd/trans2.c:set_bad_path_error(2213) set_bad_path_error: err = 0 bad_path = 0 [2004/05/31 13:13:43, 3] smbd/error.c:error_packet(118) error packet at smbd/trans2.c(2222) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED [2004/05/31 13:13:43, 5] lib/util.c:show_msg(456) [2004/05/31 13:13:43, 5] lib/util.c:show_msg(466) Thanks!
i'm sorry, i forgotten my smb.conf: [global] dos charset = 866 unix charset = KOI8-R display charset = KOI8-R workgroup = KOMI security = DOMAIN guest account = guest log level = 10 log file = /var/log/samba/%m.log max log size = 50000 [homes] valid users = %S read only = No browseable = No Thanks a lot!
Created attachment 535 [details] Samba, WinRAR and non-english (russian) filenames In this patch file the decision of a problem with creation of archive witch non-english (russian) filenames
> In this patch file the decision of a problem with creation of archive witch > non-english (russian) filenames It works. Spasibo :)
To verify our bug fix, could you upload a problematic winrar archive? Before checking that in, I would like to see the code-path in a debugger. Thanks, Volker
Created attachment 548 [details] Text file.txt in russian
Comment on attachment 548 [details] Text file.txt in russian (In reply to comment #5) > To verify our bug fix, could you upload a problematic winrar archive? Before > checking that in, I would like to see the code-path in a debugger. I can't send problematic winrar archive, because I cannot create it (see above) :) I can only send simple "Text file.txt" in russian.
> I can only send simple "Text file.txt" in russian. Oops. :) Sorry. "????????? ????????.txt"
your atachment does just contain "blah-blah" and has no filename - not very helpful ;). Maybe you should attach a tar.gz file containing the file(s). Also please post step-by-step how to reproduce, incl. what "unix charset" you have set in smb.conf.
I also cannot create a russian filename with WinRAR on an ntfs partition. Is this possibly just a WinRAR problem?
closing as invalid now, as this seems to be a plain WinRAR problem.