s3:smb2_sesssetup: add smbd_smb2_session_setup_wrap_send/recv()
commit50aeb6b38b14d6c26229834ece3c32eb50f9e56a
authorStefan Metzmacher <metze@samba.org>
Sat, 2 May 2015 14:21:25 +0000 (2 16:21 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 6 May 2015 20:33:19 +0000 (6 22:33 +0200)
tree1f118dfe1fc56548c70456d1595b938b3cd98f6d
parent8f0d4d1132b74615dc6198ab736590dec52effda
s3:smb2_sesssetup: add smbd_smb2_session_setup_wrap_send/recv()

The wrapper calls smbXsrv_session_shutdown_send/recv() in case of an error,
this makes sure a failing reauth shuts down the session like an explicit logoff.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11182

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_sesssetup.c