diff options
author | Stefan Metzmacher <metze@samba.org> | 2021-07-13 18:00:59 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2021-07-15 00:06:31 +0000 |
commit | 5ca01e48da3339a0810ff72ba204e05b4e555025 (patch) | |
tree | 3420d81d2b3d49778c4106513c215d9d8580f3fa /source3/param | |
parent | a702d781864ea09d3698b312d930ff03bb77f45e (diff) | |
download | samba-5ca01e48da3339a0810ff72ba204e05b4e555025.tar.gz |
docs-xml: add "client/server smb3 encryption algorithms" options
This gives administrators more control over the used algorithms.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 3b9cd1835fb..2e559177135 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -966,6 +966,11 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals) Globals.winbind_use_krb5_enterprise_principals = true; + Globals.client_smb3_encryption_algorithms = + str_list_make_v3_const(NULL, DEFAULT_SMB3_ENCRYPTION_ALGORITHMS, NULL); + Globals.server_smb3_encryption_algorithms = + str_list_make_v3_const(NULL, DEFAULT_SMB3_ENCRYPTION_ALGORITHMS, NULL); + /* Now put back the settings that were set with lp_set_cmdline() */ apply_lp_set_cmdline(); } |