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>
Tue, 5 Jul 2016 07:21:54 +0000 (09:21 +0200)
commitb9200a6fe1f2e78d714420d162e00590de6827b0
tree9ffc8aeacd4427c4d91ca19ef3af084615218618
parent7e73588cdd3280a1866c27a9309cb5fc65b21a00
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