Running some DOS applications (e.g. Norotn Commander 5.0 for DOS) from Samba drive from OS/2 workstation causes error.
This is new for 3.0.20 (3.0.20rc1-SVN-build-8457), 3.0.15 and prior versions don't contain this bug.
Created attachment 1308 [details] Sniff running Norton from Samba 3.0.20 drive It is Ethereal sniff of attempt to run Norton Commander from OS/2 DOS BOX from 3.0.20rc1-SVN-build-8457 drive. Result: V:\NC>nc Unable to read message file
Created attachment 1309 [details] Sniff running Norton from Samba 3.0.14a drive It is Ethereal sniff of attempt to run Norton Commander from OS/2 DOS BOX from Samba 3.0.14a drive. Result: Norton Commander runned successfuly.
Created attachment 1316 [details] Proposed patch
I think the problem was we're not correctly returning the open access mode for SMBopen calls - bug in the new open mode rewrite. Please try the attached patch and let me know if this fixes it. I'm also committing it into the 3.0 and HEAD trees. Thanks, Jeremy.
(In reply to comment #5) With this patch I can run Norton. But it cannot display any files after running. It shows empty panels for a long time and then displays a error message "Can not display more than 2000 files". Dir command in DOS box shows ".." entries infinitely. I'll open a new bug.
Thanks - if you can do the same comparative sniff against a working 3.0.14a on the new bug as you did here it will help finding the bug immesely. Thanks, Jeremy.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.