The Samba-Bugzilla – Bug 6125
Samba fails to work with Visual Studio 2003
Last modified: 2009-05-11 04:42:07 UTC
I've old project on my samba server which was working in december 2007. Now I needed to make same changes but ide compilation fails.
Checked everything I could and no help so i turned debugging to lvel 5 momentarily and captured wierd things is the log.
The VS2003 uses response files which are named RSPxxxxx.rsp ( x= any digit).
It does not see the file so I tried to find the filename in logs but there
was only the contents of the response file.
Here is little extract from the log :
[2009/02/19 20:21:31, 3] smbd/process.c:switch_message(1361)
switch message SMBtrans2 (pid 8632) conn 0x1e176c8
[2009/02/19 20:21:31, 4] smbd/uid.c:change_to_user(225)
change_to_user: Skipping user change - already user
[2009/02/19 20:21:31, 3] smbd/trans2.c:call_trans2qfilepathinfo(3929)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2009/02/19 20:21:31, 5] smbd/filename.c:unix_convert(148)
unix_convert called on file "Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm /EHsc /RTC1 /MLd.exe"
[2009/02/19 20:21:31, 5] smbd/filename.c:unix_convert(295)
unix_convert begin: name = Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm /EHsc /RTC1 /MLd.exe, dirpath = , start = Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm /EHsc /RTC1 /MLd.exe
[2009/02/19 20:21:31, 5] smbd/filename.c:unix_convert(446)
Intermediate not found Od
[2009/02/19 20:21:31, 3] smbd/error.c:error_packet_set(61)
error packet at smbd/trans2.c(3961) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_PATH_NOT_FOUND
[2009/02/19 20:21:31, 5] lib/util.c:show_msg(642)
[2009/02/19 20:21:31, 5] lib/util.c:show_msg(652)
I can send you my smb.conf and try to help in some debugging if possible.
(samba version is samba.i386 3.2.8-0.26.fc10, linux = Fedpra Core 10)
Can you take a network trace of this together with a debug level 10 log of smbd and upload it here? For taking traces, see
Created attachment 3962 [details]
Samba log with debug level 10 as requested
The are a couple of Visual studio 2003 C++ compiles here.
Created attachment 3963 [details]
Not at the same time as log.smbd but same case otherwise.
If required I can try to create them from same time.
Ok, thanks. It is Windows that is sending us weird stuff. It seems to start with frame 189, where Windows apparently sends us command line parameters as file names. Can you please try to store the files on a Windows box and perform exactly the same operations and send a comparing sniff?
Not sure what you wanted but this is a similar case, files on XP, Windows Server 2003 as client where Vs2003 was run. Compilation was successfull.
The W2K3 server also fails to compile when the source code is on samba share.
The fileswere too big for upload.
Files are on my slinux server, outbound connection is not the fastest.