SMB2_02 was available with Windows Vista.
It's time to turn SMB1 off by default.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
<para>Normally this option should not be set as the automatic negotiation
phase in the SMB protocol takes care of choosing the appropriate
- protocol.</para>
+ protocol unless you have legacy clients which are SMB1 capable only.</para>
<para>See <related>server max protocol</related> for a full list
of available protocols.</para>
<related>server max protocol</related>
-<value type="default">LANMAN1</value>
+<value type="default">SMB2_02</value>
<value type="example">NT1</value>
</samba:parameter>
lpcfg_do_global_parameter(lp_ctx, "host msdfs", "true");
lpcfg_do_global_parameter(lp_ctx, "LargeReadwrite", "True");
- lpcfg_do_global_parameter(lp_ctx, "server min protocol", "LANMAN1");
+ lpcfg_do_global_parameter(lp_ctx, "server min protocol", "SMB2_02");
lpcfg_do_global_parameter(lp_ctx, "server max protocol", "SMB3");
lpcfg_do_global_parameter(lp_ctx, "client min protocol", "CORE");
lpcfg_do_global_parameter(lp_ctx, "client max protocol", "default");
Globals.max_log_size = 5000;
Globals.max_open_files = max_open_files();
Globals.server_max_protocol = PROTOCOL_SMB3_11;
- Globals.server_min_protocol = PROTOCOL_LANMAN1;
+ Globals.server_min_protocol = PROTOCOL_SMB2_02;
Globals._client_max_protocol = PROTOCOL_DEFAULT;
Globals.client_min_protocol = PROTOCOL_CORE;
Globals._client_ipc_max_protocol = PROTOCOL_DEFAULT;