1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:libsmb: fill in smb3_capabilities.ciphers

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2021-03-11 14:38:33 +01:00 committed by Jeremy Allison
parent c0868882c7
commit 78549ea0b2

View File

@ -70,7 +70,15 @@ struct cli_state *cli_state_create(TALLOC_CTX *mem_ctx,
bool use_level_II_oplocks = false;
uint32_t smb1_capabilities = 0;
uint32_t smb2_capabilities = 0;
struct smb311_capabilities smb3_capabilities = { };
struct smb311_capabilities smb3_capabilities = {
.encryption = {
.num_algos = 2,
.algos = {
SMB2_ENCRYPTION_AES128_GCM,
SMB2_ENCRYPTION_AES128_CCM,
},
},
};
struct GUID client_guid;
if (!GUID_all_zero(&cli_state_client_guid)) {