libcli/smb: let 'client smb3 encryption algorithms' disable aes-128-ccm for SMB3_0*
commitcf1459f458bd8cb03cf1cd3f3ed2e5d8568203b7
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Jul 2021 10:13:49 +0000 (14 12:13 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Jul 2021 00:06:31 +0000 (15 00:06 +0000)
treee3e1a529ac420648b75baf5f64b4898d394a31cb
parent71b06682b68f7cc081a7a062761dc9b7cfc59495
libcli/smb: let 'client smb3 encryption algorithms' disable aes-128-ccm for SMB3_0*

SMB 3.0 and 3.0.2 require aes-128-ccm, so we need to reject them unless
'client smb3 encryption algorithms' allows them.

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