Can not run FoxPro 2.6 for DOS from Samba 3.0.15pre2-SVN-build-6319 shared drive in Win'98 and OS/2 dosbox. Result of attempt of running foxprox.exe "Access denied". WinXP can run foxprox.exe normally under the same user. Xcopy of FoxPro directory from OS/2 and Win'98 to local drive works normally, i.e. client has access to files on server. Changing case of files on UNIX side to UPPER and lower has no effect.
Created attachment 1148 [details] Sniff of the attempt to run foxprox.exe from OS/2
Created attachment 1149 [details] Sniff of the attempt to run foxprox.exe from Win'98
Unfortunately these sniffs are not useful as you didn't set the snaplen to capture the entire packet. The packets are truncated. Please resubmit with complete traces. Jeremy.
Created attachment 1150 [details] Sniff of the attempt to run foxprox.exe from OS/2 I am terribly sorry! Here is sniff with correct (I hope) snaplen.
Created attachment 1151 [details] Sniff of the attempt to run foxprox.exe from Win'98 I am terribly sorry! Here is sniff with correct (I hope) snaplen.
Ok, I understand the problem. Based on the Samba4 mappings we changed the meaning of DOS_OPEN_EXEC from open read-only to open read-write. This means the user needs to have rw access to the .EXE binary. I agree this seems strange to me, but I'm going to test this on a W2k3 server to see if the same restriction is in place. If so, I'm not quite sure what to do. To fix this to act the same way as before we'd need to break W2K3 semantics.... Jeremy.
Created attachment 1159 [details] Proposed patch.
Checking on W2K3 it seems that DOS_OPEN_EXEC does indeed seem to open read-only. Hmmm. I'm obviously missing something here... but for now I'm committing the proposed patch. Jeremy.
On Samba 3.0.15pre2-SVN-build-6348 foxpro 2.6 for dos runned successfully from Win'98 and OS/2 dosbox. Thank you!
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.