[Samba] Samba 4 File Locking

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Mar 2 13:28:18 UTC 2019


On Sat, Mar 02, 2019 at 07:33:06AM -0500, Marco Shmerykowsky via samba wrote:
> I have an old application that would kick up a warning
> "File is open - do you want to open in read only mode"
> on my previous Samba3 NT style domain set up.
> 
> It's also accessing the file share thru a connection
> coming thru an VM setup.
> 
> On my Samba 4 AD setup, I'm not getting the initial
> read only message.  file locking seems to be different.
> It seems like two concurrent users can edit the file
> and then run into locking issues when they try to dave.
> 
> Is this a SMB thing, a samba thing or a windows thing?
> Is there a setting that can effect the behavior?
> 
> Thanks.

Which SMB implementation do you use? s3fs or ntvfs? Can you post your
smb.conf?

Thanks, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: 0551-370000-0, mailto:kontakt at sernet.de
Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
AG Göttingen: HR-B 2816 - http://www.sernet.de



More information about the samba mailing list