From fe7fe76c31e562f3ce36f5483b0bbbf7e920ab4d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 11 Mar 2021 14:39:32 +0100 Subject: [PATCH] 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 --- source4/param/loadparm.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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, + }, + }, + }, }; } -- 2.47.3