libcli/smb: use require_signed_response in smb2cli_conn_dispatch_incoming()
authorRalph Boehme <slow@samba.org>
Sat, 10 Nov 2018 21:00:04 +0000 (22:00 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 13 Nov 2018 10:13:03 +0000 (11:13 +0100)
commit53fe148476a5566b7a8204d7e44b6e75ce7d45bc
treebd72dbb1271d0022b8762d26469fcb34c77cd25a
parent7abf3900218e3d27c075b405735b2c38ec0fc4ca
libcli/smb: use require_signed_response in smb2cli_conn_dispatch_incoming()

This can be used by the upper layers to force checking a response is
signed. It will be used to implement verification of session setup
reauth responses in a torture test. That comes next.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
libcli/smb/smbXcli_base.c