Hi,

at first sorry for my English... I'll try to describe my big problem:

The story began when I decided to change all the software to the Open
Source stuff in our company when it's possible. So I killed Novell and
started to use Samba (for some reason I can't use mars nwe - it lacks
some features which novell supports - like semaphores).

There is one big dos accounting application which we depend on. It uses
.dbf files shared. For some time I used it with dosemu and native 
vlm client and everything was OK. Now I can see 

THERE IS A BIG PROBLEM WITH SHARING FILES ON LREDIRED DRIVE

It looks like something is wrong - on lredired drive the file / record
locking do not work correctly - it was mentioned here several times 
before. I was searching archives for some solution but unsuccesfully.

I tried several combinations of sharing files:

1) Place all shared files in dosemu partition and accessing our
application by telnet and multiply running dosemu processes

... wrong, even impossible (of course) - it results just with 
corrupted FAT when writing files concurently. It's clear why - 
dos filesystem code just don't know about the other running 
dosemu...

2) Connect to samba server with ncpfs and lredir drive

... as I mentioned before, lredired drive looks like network
drive for dos, but file/record locking is not correctly handled
maybe in lredir code, maybe just in linux, I don't know...

3) Connect to samba server with native client 

... there is a problem with the dosemu emulated packet driver,
which is (probably) not supported in lanmanager client for dos.


I don't know if such behaviour of lredir is just a bug, or 
if it's impossible to achieve correct locking that way.

Unfortunatelly dosemu emulates the packet driver, if there was
the possibility to emulate some well-supported lan card (like
ne200), it would be easy to use the most of dos lan software
including lanmanager client.

Maybe someone knows the sollution for me?

If not, I will try to hack the dosemu code (I'm not saying 
that I think it will be easy for me, but I want to try). 
What looks like easier task, to emulate ne2000 card, or
to hack the lredir code? 

Many thanks in advance
Michal Samek

Reply via email to