libcli/smb: only check the SMB2 session setup signature if required and valid
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Sep 2013 00:24:30 +0000 (02:24 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 19 Sep 2013 08:17:38 +0000 (10:17 +0200)
commitee469fa362f743ea691419e3cd8d4bc9cfebeee2
treea22ac76affe53f8bff5c60d8971b2a67f4cdc23c
parentf851d26bf97d447d74fe1ae9831f4bcb8ae28a28
libcli/smb: only check the SMB2 session setup signature if required and valid

This is an update to commit af290a03cef63c3b08446c1980de064a3b1c8804
that skips the scary debug messages.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Sep 18 04:46:00 CEST 2013 on sn-devel-104
(cherry picked from commit 4879d0810a2ad741e32ad174a7a14cd35521aeaf)
libcli/smb/smbXcli_base.c