Problems with Visual Studio

Joacim Haggmark Joacim.Haggmark at sa.erisoft.se
Wed Aug 12 09:25:01 GMT 1998


        Hi,
 
We have a problem with Visual Developer Studio 97,
when a user tries to save their project on a samba share
Visual studio fails with the error "No such file or directory".
 
In the samba logs I can se that Visual first moves blocktest.dsp to
~VC81.tmp and then it tries to remove blocktest.dsp and thats when the
error occurs.
I think it seems a little bit strange of Visual Studio to try to remove
the same file that it just had been moved away.
 
There is no problem saving a the same project on an NT 3.51 server.
 
I include some logs in the end of this message.
We are running samba 1.9.18p8 on a Solaris 2.5.1 machine.
 
Has anyone else seen this behavior or does anyone know how to fix it ?
 
 
        Joacim Häggmark         Joacim.Haggmark at sa.erisoft.se
        Ericsson Erisoft AB     jocke at sdf.se
 

reply_mv : case_sensitive = 0, case_preserve = 1, short case preserve = 1, direc
tory = members/eplmats/trio/omt32_new_rbs/rbs/test/blocktest.dsp, newname = memb
ers/eplmats/trio/omt32_new_rbs/rbs/test/~VC81.tmp, newname_last_component = ~VC8
1.tmp, is_8_3 = 0
get_share_modes Read share mode 0x40 pid=12183
get_share_modes: file with dev 34164720 inode 29866 -> 1 entries
check_file_sharing: NT redirector workaround - rename attempted on batch oplocke
d file members/eplmats/trio/omt32_new_rbs/rbs/test/blocktest.dsp, dev = 2094ff0,
 inode = 74aa
reply_mv : succeeded doing rename on members/eplmats/trio/omt32_new_rbs/rbs/test
/blocktest.dsp -> members/eplmats/trio/omt32_new_rbs/rbs/test/~VC81.tmp
size=35
smb_com=0x7
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=111
smb_pid=51966
smb_uid=100
smb_mid=65088
smt_wct=0
smb_bcc=0
write_socket(6,39)
write_socket(6,39) wrote 39
got smb length of 42
got message type 0x0 of len 0x2a
1998/08/11 12:37:26 Transaction 501756 of length 46
size=42
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=111
smb_pid=51966
smb_uid=100
smb_mid=65152
smt_wct=3
smb_vwv[0]=313 (0x139)
smb_vwv[1]=65535 (0xFFFF)
smb_vwv[2]=65535 (0xFFFF)
smb_bcc=0
switch message SMBclose (pid 12183)
Skipping become_user - already user
1998/08/11 12:37:26 close fd=14 fnum=313 cnum=111 (numopen=12)
del_share_modes Deleting share mode entry dev=34164720 ino=29866
shm_free : freeing 24 bytes at offset 5872
del_share_modes num entries = 0, deleting share_mode dev=34164720 ino=29866
shm_free : freeing 104 bytes at offset 48928
fd_attempt_close on file_fd_struct 2, fd = 14, dev = 2094ff0, inode = 74aa, open
_flags = 2, ref_count = 1.
1998/08/11 12:37:26 eplmats closed file members/eplmats/trio/omt32_new_rbs/rbs/t
est/blocktest.dsp (numopen=11)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=111
smb_pid=51966
smb_uid=100
smb_mid=65152
smt_wct=0
smb_bcc=0
write_socket(6,39)
write_socket(6,39) wrote 39
got smb length of 97
got message type 0x0 of len 0x61
1998/08/11 12:37:26 Transaction 501757 of length 101
size=97
smb_com=0x6
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=111
smb_pid=51966
smb_uid=100
smb_mid=65216
smt_wct=1
smb_vwv[0]=6 (0x6)
smb_bcc=60
[000] 04 5C 6D 65 6D 62 65 72  73 5C 65 70 6C 6D 61 74  .\member s\eplmat
[010] 73 5C 74 72 69 6F 5C 6F  6D 74 33 32 5F 6E 65 77  s\trio\o mt32_new
[020] 5F 72 62 73 5C 72 62 73  5C 74 65 73 74 5C 62 6C  _rbs\rbs \test\bl
[030] 6F 63 6B 74 65 73 74 2E  64 73 70 00              ocktest. dsp.
switch message SMBunlink (pid 12183)
Skipping become_user - already user
reply_unlink : \members\eplmats\trio\omt32_new_rbs\rbs\test\blocktest.dsp
unix_clean_name [./members/eplmats/trio/omt32_new_rbs/rbs/test/blocktest.dsp]
checking blocktest.dsp for 8.3
unix_convert(members/eplmats/trio/omt32_new_rbs/rbs/test/blocktest.dsp,111)
is_in_path: .
is_in_path: no name list.
is_in_path: ..
is_in_path: no name list.
is_in_path: RCS
is_in_path: no name list.
is_in_path: Contents
is_in_path: no name list.
is_in_path: blocktest.cfg
is_in_path: no name list.
is_in_path: blocktest.cpp
is_in_path: no name list.
is_in_path: resource.h
is_in_path: no name list.
is_in_path: b.dsp
is_in_path: no name list.
is_in_path: blocktest.dsw
is_in_path: no name list.
is_in_path: blocktest.h
is_in_path: no name list.
is_in_path: blocktest.ico
is_in_path: no name list.
is_in_path: blocktest.rc
is_in_path: no name list.
is_in_path: blocktest_about.cpp
is_in_path: no name list.
is_in_path: blocktest_about.h
is_in_path: no name list.
is_in_path: rbs.err
is_in_path: no name list.
is_in_path: blocktest_app.h
is_in_path: no name list.
is_in_path: blocktest_main_wnd.cpp
is_in_path: no name list.
is_in_path: blocktest_main_wnd.h
is_in_path: no name list.
is_in_path: stdafx.cpp
is_in_path: no name list.
is_in_path: stdafx.h
is_in_path: no name list.
is_in_path: ~VC80.tmp
is_in_path: no name list.
is_in_path: test_report.mif
is_in_path: no name list.
is_in_path: blocktest.ncb
is_in_path: no name list.
is_in_path: blocktest.plg
is_in_path: no name list.
is_in_path: blocktest_app.cpp
is_in_path: no name list.
is_in_path: blocktest.opt
is_in_path: no name list.
is_in_path: ~VC81.tmp
is_in_path: no name list.
New file blocktest.dsp
1998/08/11 12:37:26 error packet at line 1742 cmd=6 (SMBunlink) eclass=1 ecode=2
error string = No such file or directory

Then it moves back the tempfile to blocktest.dsp.



More information about the samba mailing list