From: Stefan Metzmacher Date: Thu, 11 Mar 2021 13:39:32 +0000 (+0100) Subject: s4:param: let lpcfg_smbcli_options() fill smb3_capabilities.ciphers X-Git-Tag: tevent-0.11.0~1492 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe7fe76c31e562f3ce36f5483b0bbbf7e920ab4d;p=thirdparty%2Fsamba.git s4:param: let lpcfg_smbcli_options() fill smb3_capabilities.ciphers BUG: https://bugzilla.samba.org/show_bug.cgi?id=14512 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index bbbc2e4b515..a71f6542b74 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -50,6 +50,15 @@ void lpcfg_smbcli_options(struct loadparm_context *lp_ctx, .smb2_capabilities = SMB2_CAP_ALL, .client_guid = GUID_random(), .max_credits = WINDOWS_CLIENT_PURE_SMB2_NEGPROT_INITIAL_CREDIT_ASK, + .smb3_capabilities = { + .encryption = { + .num_algos = 2, + .algos = { + SMB2_ENCRYPTION_AES128_GCM, + SMB2_ENCRYPTION_AES128_CCM, + }, + }, + }, }; }