[Samba] FileLockEx Problem

Jeremy Allison jra at samba.org
Wed Sep 1 01:17:17 GMT 2004

On Mon, Aug 30, 2004 at 06:16:40PM -0700, Steven Bush wrote:
> Hi,
> I'm a developer working on an application for Windows XP and have been 
> using the Win32 API call FileLockEx() on shared files (writing or 
> reading).  This has been working fine, but we now have a customer where 
> this causes the following error when trying to lock a file on a samba 
> network drive (it works fine if the file is local or on a windows shared 
> drive):
> LockFileEx returns false.
> GetLastError = 50
> Error message = "The network request is not supported."
> We have a samba drive at our facility where this works fine and other 
> customers have not experienced this problem.  Any idea what may be the 
> problem?

What version of Samba is your customer running and what version of Samba
are you testing with ? More information would help here.


More information about the samba mailing list