Re: [Samba] File locking problems

2005-05-19 Thread Jeremy Allison
On Thu, May 19, 2005 at 02:13:33PM +0200, malcolm wrote: > I have been writing some code to perform portable file locking between Linux > and Windows. On Windows I use UnlockFileEx() and Linux fcntl(). To get over > the incompatibilites between these calls, I use the calls to lock the first > tw

[Samba] File locking problems

2005-05-19 Thread malcolm
I have been writing some code to perform portable file locking between Linux and Windows. On Windows I use UnlockFileEx() and Linux fcntl(). To get over the incompatibilites between these calls, I use the calls to lock the first two bytes of the file with a read lock. The first byte is regarded

RE: [Samba] File locking problems - v2.2.6

2002-10-30 Thread Paul Sergeant
EMAIL PROTECTED] [mailto:samba-admin@;lists.samba.org]On Behalf Of Brian W Spoor Sent: 30 October 2002 11:07 To: [EMAIL PROTECTED] Subject: [Samba] File locking problems - v2.2.6 Hi, I have been going crazy over the last few weeks trying to install a new Samba server (using v2.2.1, v2.2.5 and v

[Samba] File locking problems - v2.2.6

2002-10-30 Thread Brian W Spoor
Hi, I have been going crazy over the last few weeks trying to install a new Samba server (using v2.2.1, v2.2.5 and v2.2.6) to replace a old system. Problem seems to be with file locking on the new server - works perfectly on old server!! Attached are configuration files for Samba for old (smb205.

[Samba] File locking problems - v2.2.6

2002-10-29 Thread Brian W Spoor
Hi, I have been going crazy over the last few weeks trying to install a new Samba server (using v2.2.1, v2.2.5 and v2.2.6) to replace a old system. Problem seems to be with file locking on the new server - works perfectly on old server!! Attached are configuration files for Samba for old (smb205.

[Samba] File locking problems - v2.2.6

2002-10-29 Thread Brian W Spoor
Hi, I have been going crazy over the last few weeks trying to install a new Samba server (using v2.2.1, v2.2.5 and v2.2.6) to replace a old system. Problem seems to be with file locking on the new server - works perfectly on old server!! Attached are configuration files for Samba for old (smb2