[Samba] Re: Windows share modes and Linux file locking, flock fcntl

2008-01-29 Thread Peter Sirokman
In particular I am looking at a machine running Linux exporting its local filesystem using Samba, with a Windows client accessing the file share. If I use byte range locking (fcntl() on Linux, LockFile() on Windows) things work as expected, and applications using the file system locally and

[Samba] Windows share modes and Linux file locking, flock fcntl

2008-01-25 Thread Peter Sirokman
Hi, I am trying to understand file locking and share modes. I am using RedHat Enterprise Linux 4, with kernel 2.6.9-55.ELsmp, samba-3.0.10-1.4E.11 and Windows XP. In particular I am looking at a machine running Linux exporting its local filesystem using Samba, with a Windows client accessing