summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-03-26 18:08:16 +0100
committerStefan Metzmacher <metze@samba.org>2016-04-12 19:25:24 +0200
commit894aad5f71382ece490c03ab92a9ff881ad0c98b (patch)
tree3abe23928f846cbc9bbf79c3c93789d8363ec4ea /source4/param
parentc985ffd884aa6377fd7a7934fc82ea411842b5ae (diff)
downloadsamba-894aad5f71382ece490c03ab92a9ff881ad0c98b.tar.gz
CVE-2016-2111: s4:param: use "client use spnego" to initialize options->use_spnego
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11749 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index af3313f6dd8..71331fb1835 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -36,7 +36,7 @@ void lpcfg_smbcli_options(struct loadparm_context *lp_ctx,
{
options->max_xmit = lpcfg_max_xmit(lp_ctx);
options->max_mux = lpcfg_max_mux(lp_ctx);
- options->use_spnego = lpcfg_nt_status_support(lp_ctx) && lpcfg_use_spnego(lp_ctx);
+ options->use_spnego = lpcfg_nt_status_support(lp_ctx) && lpcfg_client_use_spnego(lp_ctx);
options->signing = lpcfg_client_signing(lp_ctx);
options->request_timeout = SMB_REQUEST_TIMEOUT;
options->ntstatus_support = lpcfg_nt_status_support(lp_ctx);