git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78549ea
)
s4:param: let lpcfg_smbcli_options() fill smb3_capabilities.ciphers
author
Stefan Metzmacher
<metze@samba.org>
Thu, 11 Mar 2021 13:39:32 +0000
(14:39 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 17 Mar 2021 00:49:32 +0000
(
00:49
+0000)
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>
source4/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source4/param/loadparm.c
b/source4/param/loadparm.c
index bbbc2e4b515811496e6229d1907b1d379954ab50..a71f6542b745077af3f68cb32ccd6a631026aff4 100644
(file)
--- 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,
+ },
+ },
+ },
};
}