Bug 1606 - cannot launch DOS executables
Summary: cannot launch DOS executables
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.5
Hardware: x86 other
: P3 normal
Target Milestone: none
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-12 01:41 UTC by Ulf Dettmer
Modified: 2005-08-24 10:23 UTC (History)
0 users

See Also:


Attachments
debug level 5 log from a DOS client (7.24 KB, application/x-tar-compressed)
2004-08-12 01:42 UTC, Ulf Dettmer
no flags Details
my smb.conf (2.12 KB, text/plain)
2004-08-12 01:43 UTC, Ulf Dettmer
no flags Details
the flags for 'configure' i used (645 bytes, text/plain)
2004-08-12 01:45 UTC, Ulf Dettmer
no flags Details
sendfile fix. (1.27 KB, patch)
2004-08-16 14:24 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulf Dettmer 2004-08-12 01:41:30 UTC
Server: SuSE Linux 9.0 Pro
Clients: WinXP SP1 & SP2, DOS ( Lanman 2.1 )

Hi,
for administrative purposes we are sometimes booting a DOS system based on Bart 
Lagerweij's network bootdisk ( http://www.nu2.nu/bootdisk/network ) on some of 
the clients. A share on the Samba server is being used to provide various tools 
for DOS. This worked well with Samba versions up to 3.0.5 *not* including 
3.0.5rc1. 
With Samba 3.0.6rc2 ( and 3.0.5rc1 ) i can still connect to the Samba share and 
do all kinds of DOS commands ( e.g. 'dir', 'type', ... ) but only until i 
launch an EXE file from the Samba share. The program would not start, instead 
i'm getting an "access denied" error. Additionally i'm no longer able to use 
DOS commands on the share - these will always result in an "extended error 58".
This problem does not occur when i connect to the same share with Windows XP.
Comment 1 Ulf Dettmer 2004-08-12 01:42:50 UTC
Created attachment 597 [details]
debug level 5 log from a DOS client

compressed with bzip2
Comment 2 Ulf Dettmer 2004-08-12 01:43:27 UTC
Created attachment 598 [details]
my smb.conf
Comment 3 Ulf Dettmer 2004-08-12 01:45:25 UTC
Created attachment 599 [details]
the flags for 'configure' i used
Comment 4 Gerald (Jerry) Carter (dead mail address) 2004-08-16 13:46:52 UTC
jeremy, this may be the same thing as the scandisk.exe problem 
you are working on.
Comment 5 Jeremy Allison 2004-08-16 14:24:08 UTC
Created attachment 600 [details]
sendfile fix.
Comment 6 Jeremy Allison 2004-08-16 14:24:33 UTC
I have fixed this. 2 related problems - 1). DOS uses chained commands - when we
are replying with sendfile we neglect to send the chained header. 2). Win9x and
DOS TCP stacks blow up when getting data back from a Linux sendfile - "The
engines canna take the strain cap'n". Don't use sendfile for anything less than NT1.
Jeremy.
Comment 7 Gerald (Jerry) Carter (dead mail address) 2005-02-07 09:39:33 UTC
originally against 3.0.6rc2
Comment 8 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:23:33 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.