NTVFS disconnect

Andrew Bartlett abartlet at samba.org
Fri Sep 1 07:50:45 GMT 2006

On Thu, 2006-08-31 at 23:23 -0700, Murali Bashyam wrote:
> Tridge
> You are right, this is happening, i missed the implicit TCP connection
> teardown under the talloc_free.
> Is there any reason why we are not doing an explicit raw tree disconnect as
> part of the ntvfs disconnect? Is there any reason it may not work correctly?
> I guess that was the question on my mind.

Mostly, it is to avoid having resources hanging around after they are no
longer wanted:  That is, we might be doing a shutdown because the client
has disconnected, so why spend resources to send the network packets,
when the server will handle it for you on TCP shutdown?

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060901/7a42ef53/attachment.bin

More information about the samba-technical mailing list