Jeremy Allison jra at
Thu Oct 9 15:24:44 MDT 2014

On Thu, Oct 09, 2014 at 11:18:47PM +0200, Michael Adam wrote:
> In the new mode the process and the file handle simply does not
> go away if the client is disconnected. The reconncted client's
> tcp socket is passed to the smbd that still holds the file open.
> > IMHO in our current architecture closing and
> > re-opening would be a much easier first step.
> Sure, bug my point was rather that we might benefit from
> the infrastructure that we are currently building anyways
> for Multi-Channel.

Sounds good to me. We're close to getting this
working (once I've gotten Volker's leases code
in 4.2.x I'll start working on it :-).

> And remember that we have to give guarantees to the client.
> We can of course count external access to disconnected
> handles as force majeure, but if we close the handle, we
> we not only don't have a means of preventing external
> access, but we don't even have a definite means of noticing it.

True. But many of the advanced SMB3 features won't
work with only underlying POSIX guarentees anyway,
so we can just shove this one in the same bucket
for now :-).

More information about the samba-technical mailing list