From: Stefan Metzmacher Date: Sat, 26 Mar 2016 17:08:16 +0000 (+0100) Subject: CVE-2016-2111: s4:param: use "client use spnego" to initialize options->use_spnego X-Git-Tag: samba-4.2.10~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f39d0f6a83b129b70027acaece8d6ecd3d71401;p=thirdparty%2Fsamba.git 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 Reviewed-by: Alexander Bokovoy --- 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);