Remove 'reset on zero vc' for Samba 4.0?

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jul 19 11:53:25 MDT 2011


On Tue, Jul 19, 2011 at 09:01:55AM -0400, Gordon Ross wrote:
> On Tue, Jul 19, 2011 at 3:44 AM, Volker Lendecke
> <Volker.Lendecke at sernet.de> wrote:
> > On Tue, Jul 19, 2011 at 01:37:05PM +1000, Andrew Bartlett wrote:
> >> I was looking over the session setup code, and noticed the support for
> >> the 'reset on zero vc' behaviour.
> >>
> >> Given we now support SMB2, we understand why Microsoft added this (to
> >> support IPX) and NT4 is long dead, should we remove this parameter for
> >> Samba 4.0?
> >
> > Please keep it. It helps against flaky clients and/or flaky
> > networks. I am using it in customer situations every now and
> > then, and it does help against clients still holding shares
> > but that died.
> >
> > Thanks,
> >
> > Volker
> 
> Is TCP "keep alive" is not sufficient to allow Samba to notice
> (reasonably soon) that a client as disappeared?

Only if you have TCP_KEEPCNT, TCP_KEEPIDLE and TCP_KEEPINTVL
available. This is not standard I think. The normal TCP
timeout is far too long for this to reliably work.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba-technical mailing list