s3:smbd:smb2: fix setting of scavenge timeout when reconnecting durable handles
commit9f7cbc7e8916268da7fa6e2e7bd4e1a1154ab1ab
authorMichael Adam <obnox@samba.org>
Thu, 18 Apr 2013 11:11:03 +0000 (18 13:11 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Jul 2013 10:45:17 +0000 (2 12:45 +0200)
tree76bd9ba947e531785dff9ac14190952134afc370
parente309d2e3cf1e32b1302a38915fc5e3165626e9f3
s3:smbd:smb2: fix setting of scavenge timeout when reconnecting durable handles

The bug fixed with this commit led to reconnected durable handles
having a disconnect timeout of 0 msec. This fix re-establishes the
original timeout for the reconnected handle.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit beb9a27180e5570337381d03fac55bbe6d1637e0)

The last 18 patches address bug #9930 - smbd did not cleanup disonnected durable
handles.

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Tue Jul  2 12:45:17 CEST 2013 on sn-devel-104
source3/smbd/smb2_create.c