Web lists-archives.com

Re: [Samba] Automaticaly unlock files




On Thu, Feb 14, 2019 at 12:37:20AM +0000, Carlos Jesus via samba wrote:
> Question: Is there a way to automaticaly, after a certain amount of time,
> unlock a file after, for example, a client crash or network problem?

Try

socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4 TCP_KEEPINTVL=15

which should remove the connection after 5 minutes. See "man 7 tcp"
for the meaning of those values.

Volker

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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba