2004-04-07 14:15:11 +04:00
<samba:parameter name= "ntlm auth"
context="G"
2017-07-03 03:11:51 +03:00
type="enum"
enumlist="enum_ntlm_auth"
2005-03-13 01:41:20 +03:00
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
2004-04-07 14:15:11 +04:00
<description >
<para > This parameter determines whether or not <citerefentry > <refentrytitle > smbd</refentrytitle>
<manvolnum > 8</manvolnum> </citerefentry> will attempt to
2017-07-24 05:09:19 +03:00
authenticate users using the NTLM encrypted password response for
this local passdb (SAM or account database). </para>
<para > If disabled, both NTLM and LanMan authencication against the
local passdb is disabled.</para>
<para > Note that these settings apply only to local users,
authentication will still be forwarded to and NTLM authentication
accepted against any domain we are joined to, and any trusted
domain, even if disabled or if NTLMv2-only is enforced here. To
control NTLM authentiation for domain users, this must option must
be configured on each DC.</para>
2004-04-07 14:15:11 +04:00
2019-06-01 00:04:48 +03:00
<para > By default with <command moreinfo= "none" > ntlm auth</command> set to
2017-07-03 03:11:51 +03:00
<constant > ntlmv2-only</constant> only NTLMv2 logins will be
2019-08-29 23:42:36 +03:00
permitted. All modern clients support NTLMv2 by default, but some older
2017-07-03 03:11:51 +03:00
clients will require special configuration to use it.</para>
2016-03-15 23:59:42 +03:00
<para > The primary user of NTLMv1 is MSCHAPv2 for VPNs and 802.1x.</para>
2017-07-03 03:11:51 +03:00
<para > The available settings are:</para>
<itemizedlist >
<listitem >
<para > <constant > ntlmv1-permitted</constant>
(alias <constant > yes</constant> ) - Allow NTLMv1 and above for all clients.</para>
2019-06-01 00:04:48 +03:00
<para > This is the required setting for to enable the <parameter
moreinfo="none">lanman auth</parameter> parameter.</para>
2017-07-03 03:11:51 +03:00
</listitem>
<listitem >
<para > <constant > ntlmv2-only</constant>
(alias <constant > no</constant> ) - Do not allow NTLMv1 to be used,
but permit NTLMv2.</para>
</listitem>
<listitem >
<para > <constant > mschapv2-and-ntlmv2-only</constant> - Only
allow NTLMv1 when the client promises that it is providing
MSCHAPv2 authentication (such as the <command
moreinfo="none">ntlm_auth</command> tool).</para>
</listitem>
2017-07-03 05:16:50 +03:00
<listitem >
2017-07-24 05:09:19 +03:00
<para > <constant > disabled</constant> - Do not accept NTLM (or
LanMan) authentication of any level, nor permit
2017-07-03 05:39:09 +03:00
NTLM password changes.</para>
2017-07-03 05:16:50 +03:00
</listitem>
2017-07-03 03:11:51 +03:00
</itemizedlist>
<para > The default changed from <constant > yes</constant> to
2019-06-19 23:35:43 +03:00
<constant > no</constant> with Samba 4.5. The default changed again
2017-07-03 03:11:51 +03:00
to <constant > ntlmv2-only</constant> with Samba 4.7, however the
behaviour is unchanged.</para>
2004-04-07 14:15:11 +04:00
</description>
2016-03-15 23:59:42 +03:00
<related > lanman auth</related>
<related > raw NTLMv2 auth</related>
2017-07-03 03:11:51 +03:00
<value type= "default" > ntlmv2-only</value>
2004-04-07 14:15:11 +04:00
</samba:parameter>