CVE-2016-2111: docs-xml: add "raw NTLMv2 auth" defaulting to "yes"
[sfrench/samba-autobuild/.git] / source3 / param / loadparm.c
index 1f8e5783d3ae3a11a382c22e4099b6e2900bed96..3bdec236005c80d2753df4b4a9eb89b320cd103d 100644 (file)
@@ -690,6 +690,7 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
        Globals.client_plaintext_auth = false;  /* Do NOT use a plaintext password even if is requested by the server */
        Globals.lanman_auth = false;    /* Do NOT use the LanMan hash, even if it is supplied */
        Globals.ntlm_auth = true;       /* Do use NTLMv1 if it is supplied by the client (otherwise NTLMv2) */
+       Globals.raw_ntlmv2_auth = true; /* Allow NTLMv2 without NTLMSSP */
        Globals.client_ntlmv2_auth = true; /* Client should always use use NTLMv2, as we can't tell that the server supports it, but most modern servers do */
        /* Note, that we will also use NTLM2 session security (which is different), if it is available */