SMB server shutdown hang after tree connect test
We have a new smbtorture test "base.tcondis" that does an SMB1 tree connect
with the flags including TREE_CONNECT_ANDX_DISCONNECT_TID
(see MS-SMB 184.108.40.206.1 )
which tells the server to disconnect the current TID before connecting a new one.
After running that test, the SMB server won't restart without a reboot.
It appears that some tree objects remain that are not getting cleaned up after that test.
Updated by Gordon Ross over 2 years ago
I added an smbtorture test for this, on our engineering branch of samba:
The new test is: "base.tcondis"
restart the server after that test to verify the fix.
Updated by Electric Monk over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 27f3c5a8194b190aeea38638adf95bd93e61cef1 Author: Gordon Ross <firstname.lastname@example.org> Date: 2019-10-19T13:03:06.000Z 11836 SMB server shutdown hang after tree connect test Reviewed by: Matt Barden <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Evan Layton <email@example.com> Reviewed by: Andy Stormont <AStormont@racktopsystems.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>