summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-02-27 04:13:11 +0100
committerStefan Metzmacher <metze@samba.org>2016-04-12 19:25:26 +0200
commit35ce75ec9eb0e3f2113a089b59967dddf3a122f9 (patch)
tree1a709231c9770f13d8df32c75565b791927c2faa /source4/param
parentf65f618e9634d75f0074b2031f856f0ed605d705 (diff)
downloadsamba-35ce75ec9eb0e3f2113a089b59967dddf3a122f9.tar.gz
CVE-2016-2115: s4:libcli/raw: add smbcli_options.min_protocol
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11756 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 71331fb1835..f53b2dd1807 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -40,6 +40,7 @@ void lpcfg_smbcli_options(struct loadparm_context *lp_ctx,
options->signing = lpcfg_client_signing(lp_ctx);
options->request_timeout = SMB_REQUEST_TIMEOUT;
options->ntstatus_support = lpcfg_nt_status_support(lp_ctx);
+ options->min_protocol = lpcfg_client_min_protocol(lp_ctx);
options->max_protocol = lpcfg__client_max_protocol(lp_ctx);
options->unicode = lpcfg_unicode(lp_ctx);
options->use_oplocks = true;