The Samba-Bugzilla – Bug 1606
cannot launch DOS executables
Last modified: 2005-08-24 10:23:33 UTC
Server: SuSE Linux 9.0 Pro
Clients: WinXP SP1 & SP2, DOS ( Lanman 2.1 )
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
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.
Created attachment 597 [details]
debug level 5 log from a DOS client
compressed with bzip2
Created attachment 598 [details]
Created attachment 599 [details]
the flags for 'configure' i used
jeremy, this may be the same thing as the scandisk.exe problem
you are working on.
Created attachment 600 [details]
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.
originally against 3.0.6rc2
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.