Hi

We have an ERP system which uses windows clients to connect to a database 
shared over a SAMBA network. The database is like MS Access i.e. it does not 
serve data. To get sequential access, file locking is used.

One of the clients runs from a Linux station with win4lin. The same database 
share is then accessed via NFS. The problem is that it looks like the files 
are not locked from the win4lin client side.

I have mounted the drive over SAMBA instead of NFS to monitor the access with 
the samba status tool. And I have enabled Linux Locking for the win4lin 
session. I then noted the following:

When the clients from the windows machine access the database and associated 
files they are locked DENY_NONE, DENY_WRITE, DENY_READ etc. However, the 
win4lin client only locks DENY_NONE. This prevents other clients from 
starting -don't know why.

ALternatively, if I mount over NFS I don't have a clue what is going on, but 
I have noted the following:
1. Data corruption. 
2. The win4lin client only shows the user logged into the ERP from the 
win4lin workstation. 
This lead me to believe that there is a locking problem.

I am using RH6.2 with win4lin1.0 on the Desktop and RH7.0 on the server.

How can I fix the locking problem?
Is there a way of checking that locking works correctly?
Can I use NFS or should I rather use SAMBA?


-- 
AJ van Staden
Cyber Seal Business and Industrial Information systems
Pta Office Tel: +27 12 998 5674, Pta Office Fax: +27 12 998 0249,
Cell: +27 82 927 5513

_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to