CVE-2016-2019: libcli/smb: don't allow guest sessions if we require signing
authorStefan Metzmacher <metze@samba.org>
Wed, 20 Apr 2016 09:26:57 +0000 (11:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 7 Jul 2016 09:22:27 +0000 (11:22 +0200)
commitd81bffa0fbae56cc399c09b04e88a739dcad88cb
tree159a5a1b32b76c89d1840408f59688aea94c063c
parentef1a66dcdf29e48d3320a3280308e04eb7cc6de7
CVE-2016-2019: libcli/smb: don't allow guest sessions if we require signing

Note real anonymous sessions (with "" as username) don't hit this
as we don't even call smb2cli_session_set_session_key() in that case.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
libcli/smb/smbXcli_base.c