[Samba] Clear file locks when connection dies

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri May 8 09:06:48 GMT 2009


On Fri, May 08, 2009 at 10:36:05AM +0200, Brecht Hoflack wrote:
> we have a samba setup running samba 3.0.10-Debian with a lot of DOS pc's 
>  writing to it.
> 
> Now we have a problem that when one of those pc's is restarted while 
> having a lock,  that file stays locked.  We already tried changing this 
> behavior by setting the following parameters without effect:
> 
> - keepalive
> - SO_KEEPALIVE
> - deadtime
> 
> How can we enable a timeout on these locks / connections?

"reset on zero vc = yes"

Available with 3.0.34. Also earlier, but definitely not with
3.0.10.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20090508/73c4c8c0/attachment.bin


More information about the samba mailing list