[Samba] FIle Locks???

Jeremy Allison jra at samba.org
Thu Mar 25 15:32:29 UTC 2021

On Thu, Mar 25, 2021 at 01:04:23PM +0000, Thomas Rieff via samba wrote:
>About every 2 -3 weeks we have a software program where the data is on a Samba server and we get a "file access denied " error message. I reboot the server and all is well for a while again.
>Any thoughts on how I can track down the PC that is keeping the file locked?
>Or is there a different configuration that would correct this.

smbstatus will show all currently open files, and the client
that has them open. If you know the filename that is having
problems, this should help you to track it down.

More information about the samba mailing list