smbXsrv_session: smbXsrv_session_remove_channel() should also remove the last channel
authorStefan Metzmacher <metze@samba.org>
Wed, 24 Feb 2021 16:44:12 +0000 (17:44 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 29 Mar 2021 19:36:37 +0000 (19:36 +0000)
commita19180904ea73815e994f3c720613ae0b06099c3
tree3d409fe974f6a55853c838769f36ced6859c83eb
parent87b8049320c6314fab12ff14ac825101876e87d9
smbXsrv_session: smbXsrv_session_remove_channel() should also remove the last channel

There's nothing special regarding the last channel,
as the smb2.session.bind2 test demonstrates.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14449

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/smb2.session [deleted file]
source3/smbd/smbXsrv_session.c