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 18.104.22.168.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 6 months 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 6 months ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 27f3c5a8194b190aeea38638adf95bd93e61cef1 Author: Gordon Ross <email@example.com> Date: 2019-10-19T13:03:06.000Z 11836 SMB server shutdown hang after tree connect test Reviewed by: Matt Barden <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Evan Layton <firstname.lastname@example.org> Reviewed by: Andy Stormont <AStormont@racktopsystems.com> Approved by: Robert Mustacchi <email@example.com>