Patrick
I had the same problem. A DOS app that would not load as soon as it attemts to connect to a .dbf file. Even from Excel I could not open the file.
I did the following which works:
In the configuration for the shared directory in smb.conf, I added:
locking = no
Example:
[dos_apps]
comment = DOS Applications
path = /home/e-smith/files/ibays/dos_apps/files
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0660
locking = no
But please note the warning in the Samba docs:
Be careful about disabling locking either globally or in a specific service, as lack of locking may result in data corruption. You should never need to set this parameter.
This option works for me, BUT I have not tested it in a multi-user environment (will do so tomorrow).
So until I can find a better solution or a problem with this one, I will use this solution

Jaco Bongers