a problem occurs, if somebody tries to access a file, named with "?" in path- or filename: AUTOCAD acnnot access this files - throwing error (translated) "cannot find drawing, make sure, that your networkdrive is available and the file exists. this only happens, with germen special letters "?" and "?" opening with other applications and opening with ACAD on all other files is successful. does anyone have an idea, why this happen? e.g.: networkdrive N: opening N:\tmp\_t?st\test.dwg -> ok opening N:\tmp\_t?st\test.dwg -> with ACAD error, other applications: success smbd logfile: unix_mode(temp/_t??st/test.dwg) returning 0770 [2006/03/03 10:43:24, 2] smbd/open.c:open_file(369) marcel opened file temp/_t??st/test.dwg read=Yes write=No (numopen=1) [2006/03/03 10:43:24, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(166) linux_set_kernel_oplock: got kernel oplock on file temp/_t??st/test.dwg, dev = 2103, inode = 4489682, file_id = 1092 [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) Transaction 6011 of length 90 [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) switch message SMBopenX (pid 10348) conn 0x83fa2e0 [2006/03/03 10:43:24, 3] smbd/dosmode.c:unix_mode(121) unix_mode(temp/_t??st/test.dwg) returning 0770 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1 [2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393) push_conn_ctx(100) : conn_ctx_stack_ndx = 0 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0 [2006/03/03 10:43:24, 3] smbd/oplock.c:initial_break_processing(320) initial_break_processing: called for dev = 0x2103, inode = 4489682 file_id = 1092 Current oplocks_open (exclusive = 1, levelII = 0) [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) Transaction 6012 of length 55 [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) switch message SMBlockingX (pid 10348) conn 0x83fa2e0 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1 [2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393) push_conn_ctx(100) : conn_ctx_stack_ndx = 0 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0 [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) Transaction 6013 of length 90 [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) switch message SMBopenX (pid 10348) conn 0x83fa2e0 [2006/03/03 10:43:24, 3] smbd/dosmode.c:unix_mode(121) unix_mode(temp/_t??st/test.dwg) returning 0770 [2006/03/03 10:43:24, 2] smbd/open.c:open_file(369) marcel opened file temp/_t??st/test.dwg read=Yes write=Yes (numopen=2) [2006/03/03 10:43:24, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(161) linux_set_kernel_oplock: Refused oplock on file temp/_t??st/test.dwg, fd = 27, dev = 2103, inode = 4489682. (Resource temporarily unavailable) [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) Transaction 6014 of length 53 [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) switch message SMBsetattrE (pid 10348) conn 0x83fa2e0 [2006/03/03 10:43:24, 3] smbd/reply.c:reply_setattrE(5460) reply_setattrE fnum=9542 ignoring zero request - not setting timestamps of 0 [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) Transaction 6015 of length 45 [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) switch message SMBclose (pid 10348) conn 0x83fa2e0 [2006/03/03 10:43:24, 3] smbd/reply.c:reply_close(3271) close fd=27 fnum=9542 (numopen=2) [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1 [2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393) push_conn_ctx(100) : conn_ctx_stack_ndx = 0 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0 [2006/03/03 10:43:24, 2] smbd/close.c:close_normal_file(308) marcel closed file temp/_t??st/test.dwg (numopen=1) [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) Transaction 6016 of length 45 [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) switch message SMBclose (pid 10348) conn 0x83fa2e0 [2006/03/03 10:43:24, 3] smbd/reply.c:reply_close(3271) close fd=22 fnum=9540 (numopen=1) [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1 [2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393) push_conn_ctx(100) : conn_ctx_stack_ndx = 0 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0 [2006/03/03 10:43:24, 2] smbd/close.c:close_normal_file(308) marcel closed file temp/_t??st/test.dwg (numopen=0) -- -- greetings, kurt, austria. (http://www.kwnet.at)
Robert Schetterer
2006-Mar-03 10:44 UTC
[Samba] problems with AUTOCAD (german version) and samba
hi Kurt, control your locale settings on the samba server and your settings in smb.conf, but at a short look on your log i would say you have a oplock problem in suse you can change local in /etc/sysconfig/language to de_DE@euro and parameter root uses language = yes ( note this might break yast ncurses display in tty.. in suse versions prior 10 ) in smb conf ( samba3 )set unix charset = ISO8859-1 display charset = ISO8859-1 dos charset = 850 the file names with umlauts should be visible in the native linux filesystems too , if they arent you have to rename them if using this entries. in the share try using this parameters locking = No oplocks = False level2 oplocks = False acl check permissions = no controll the file permissions ( ls -la ) of the desired file , too make sure that there is no problem with ownership you might test this first perhaps setting this may your fix your problems without changing locale Good Luck Best Regards Kurt Weiss schrieb:> a problem occurs, if somebody tries to access a file, named with "?" in > path- or filename: > AUTOCAD acnnot access this files - throwing error (translated) "cannot > find drawing, make sure, that your networkdrive is available and the > file exists. > > this only happens, with germen special letters "?" and "?" > opening with other applications and opening with ACAD on all other files > is successful. > > does anyone have an idea, why this happen? > > e.g.: > networkdrive N: > opening N:\tmp\_t?st\test.dwg -> ok > opening N:\tmp\_t?st\test.dwg -> with ACAD error, other applications: > success > > smbd logfile: > unix_mode(temp/_t??st/test.dwg) returning 0770 > [2006/03/03 10:43:24, 2] smbd/open.c:open_file(369) > marcel opened file temp/_t??st/test.dwg read=Yes write=No (numopen=1) > [2006/03/03 10:43:24, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(166) > linux_set_kernel_oplock: got kernel oplock on file > temp/_t??st/test.dwg, dev = 2103, inode = 4489682, file_id = 1092 > [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) > Transaction 6011 of length 90 > [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) > switch message SMBopenX (pid 10348) conn 0x83fa2e0 > [2006/03/03 10:43:24, 3] smbd/dosmode.c:unix_mode(121) > unix_mode(temp/_t??st/test.dwg) returning 0770 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256) > push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1 > [2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393) > push_conn_ctx(100) : conn_ctx_stack_ndx = 0 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386) > pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0 > [2006/03/03 10:43:24, 3] smbd/oplock.c:initial_break_processing(320) > initial_break_processing: called for dev = 0x2103, inode = 4489682 > file_id = 1092 > Current oplocks_open (exclusive = 1, levelII = 0) > [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) > Transaction 6012 of length 55 > [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) > switch message SMBlockingX (pid 10348) conn 0x83fa2e0 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256) > push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1 > [2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393) > push_conn_ctx(100) : conn_ctx_stack_ndx = 0 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386) > pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0 > [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) > Transaction 6013 of length 90 > [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) > switch message SMBopenX (pid 10348) conn 0x83fa2e0 > [2006/03/03 10:43:24, 3] smbd/dosmode.c:unix_mode(121) > unix_mode(temp/_t??st/test.dwg) returning 0770 > [2006/03/03 10:43:24, 2] smbd/open.c:open_file(369) > marcel opened file temp/_t??st/test.dwg read=Yes write=Yes (numopen=2) > [2006/03/03 10:43:24, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(161) > linux_set_kernel_oplock: Refused oplock on file temp/_t??st/test.dwg, > fd = 27, dev = 2103, inode = 4489682. (Resource temporarily unavailable) > [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) > Transaction 6014 of length 53 > [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) > switch message SMBsetattrE (pid 10348) conn 0x83fa2e0 > [2006/03/03 10:43:24, 3] smbd/reply.c:reply_setattrE(5460) > reply_setattrE fnum=9542 ignoring zero request - not setting > timestamps of 0 > [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) > Transaction 6015 of length 45 > [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) > switch message SMBclose (pid 10348) conn 0x83fa2e0 > [2006/03/03 10:43:24, 3] smbd/reply.c:reply_close(3271) > close fd=27 fnum=9542 (numopen=2) > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256) > push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1 > [2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393) > push_conn_ctx(100) : conn_ctx_stack_ndx = 0 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386) > pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0 > [2006/03/03 10:43:24, 2] smbd/close.c:close_normal_file(308) > marcel closed file temp/_t??st/test.dwg (numopen=1) > [2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194) > Transaction 6016 of length 45 > [2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993) > switch message SMBclose (pid 10348) conn 0x83fa2e0 > [2006/03/03 10:43:24, 3] smbd/reply.c:reply_close(3271) > close fd=22 fnum=9540 (numopen=1) > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256) > push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1 > [2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393) > push_conn_ctx(100) : conn_ctx_stack_ndx = 0 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 > [2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386) > pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0 > [2006/03/03 10:43:24, 2] smbd/close.c:close_normal_file(308) > marcel closed file temp/_t??st/test.dwg (numopen=0) > >