Bug 2878 - Can not run DOS application from Samba disk from OS/2 workstation
Can not run DOS application from Samba disk from OS/2 workstation
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.20
x86 FreeBSD
: P3 major
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-14 20:38 UTC by Alex Masterov
Modified: 2005-08-24 10:17 UTC (History)
0 users

See Also:


Attachments
Sniff running Norton from Samba 3.0.20 drive (267.19 KB, application/octet-stream)
2005-07-14 20:52 UTC, Alex Masterov
no flags Details
Sniff running Norton from Samba 3.0.14a drive (314.96 KB, application/octet-stream)
2005-07-14 20:56 UTC, Alex Masterov
no flags Details
Proposed patch (477 bytes, patch)
2005-07-18 15:28 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Masterov 2005-07-14 20:38:33 UTC
Running some DOS applications (e.g. Norotn Commander 5.0 for DOS) from Samba
drive from OS/2 workstation causes error.
Comment 1 Alex Masterov 2005-07-14 20:41:42 UTC
This is new for 3.0.20 (3.0.20rc1-SVN-build-8457), 
3.0.15 and prior versions don't contain this bug.
Comment 2 Alex Masterov 2005-07-14 20:52:36 UTC
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
Comment 3 Alex Masterov 2005-07-14 20:56:30 UTC
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.
Comment 4 Jeremy Allison 2005-07-18 15:28:17 UTC
Created attachment 1316 [details]
Proposed patch
Comment 5 Jeremy Allison 2005-07-18 15:29:02 UTC
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.
Comment 6 Alex Masterov 2005-07-18 19:22:56 UTC
(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.
Comment 7 Jeremy Allison 2005-07-18 20:15:05 UTC
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.
Comment 8 Gerald (Jerry) Carter 2005-08-24 10:17:55 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.