Do you think our application uses byte-level locks. When I use samba instead of NFS I can see the locks with lslk, but they are not working 100%. For example other users cannot access the files, although SAMBA reports DENY_NONE for everything. If this cannot be solved then I am afraid that Win4Lin will not work for most of our clients. Because they all use these kind of ERP systems. On Wednesday 06 December 2000 08:06, you wrote: > samba implements file locking between samba clients. As a result, the > file is not locked to the local machine, or to local processes - only to > processes that access it via the smb protocol. If win4lin is bypassing > the samba locking process you may expect problems. > > Does win4lin support byte-level locks? If not, you have a problem. > > &:-) > > 'Twas 22:19 Yesterday when Jaco van Staden spake thus: > > 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, Quintessence Electrical Engineering And 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
