smbd:smb2: fix error code when the header says the request is signed but we don't...
commit33e1a4ffb4e43820dc8893207f4f5bc9394441d2
authorMichael Adam <obnox@samba.org>
Wed, 25 Sep 2013 21:18:56 +0000 (25 23:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 20 May 2015 14:34:29 +0000 (20 16:34 +0200)
tree85abf5f70ecd9a513d365464bce831dcc46011bd
parentf687a770c6fe7f40e5b4b88668444775006fcb39
smbd:smb2: fix error code when the header says the request is signed but we don't have a sesseion

I.e. when the request is a session setup.
We replied with ACCESS_DENIED, but windows expects USER_SESSION_DELETED

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct  2 22:07:44 CEST 2013 on sn-devel-104

(cherry picked from commit c3a5fecdc1ff0320f4979fa21aa636aacaac8abe)
source3/smbd/smb2_server.c