[PATCH - 1/1] libsmb: Sending smb echo or keepalive request on the cached connection before re-using
Stefan (metze) Metzmacher
metze at samba.org
Mon Feb 2 22:36:02 MST 2015
Hi Har Gagan Sahai,
> Thanks for reviewing the patch and providing detailed explanation about it.
> In libsmbclient with SMBv2 we noticed the session handle reuse was failing with error NT_STATUS_CONNECTION_RESET. This
> session re-use is happening sometimes in less than one minute of last use. After some readings I found this link
> that the explanation about session expiration timer tells that it is
about 45 secs.
There's a kind of cronjob every running every 45 seconds, which loops
over all existing sessions
and checks if their expiration time (based on the krb5 ticket lifetime
e.g. 10 hours) has expired.
It doesn't mean that connections are disconnected after 45 seconds
First we need to fully understand your problem. I've asked some questions
on the bug report https://bugzilla.samba.org/show_bug.cgi?id=11079.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: OpenPGP digital signature
More information about the samba-technical