mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
param: change the effective default for "client max protocol" to the latest supported protocol
Currently it's SMB3_11. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
006539e885
commit
1199907cbe
@ -79,7 +79,7 @@
|
||||
negotiation phase in the SMB protocol takes care of choosing
|
||||
the appropriate protocol.</para>
|
||||
|
||||
<para>The value <constant>default</constant> refers to <constant>NT1</constant>.</para>
|
||||
<para>The value <constant>default</constant> refers to <constant>SMB3_11</constant>.</para>
|
||||
|
||||
<para>IPC$ connections for DCERPC e.g. in winbindd, are handled by the
|
||||
<smbconfoption name="client ipc max protocol"/> option.</para>
|
||||
|
@ -3401,7 +3401,7 @@ int lpcfg_client_max_protocol(struct loadparm_context *lp_ctx)
|
||||
{
|
||||
int client_max_protocol = lpcfg__client_max_protocol(lp_ctx);
|
||||
if (client_max_protocol == PROTOCOL_DEFAULT) {
|
||||
return PROTOCOL_NT1;
|
||||
return PROTOCOL_LATEST;
|
||||
}
|
||||
return client_max_protocol;
|
||||
}
|
||||
|
@ -4543,7 +4543,7 @@ int lp_client_max_protocol(void)
|
||||
{
|
||||
int client_max_protocol = lp__client_max_protocol();
|
||||
if (client_max_protocol == PROTOCOL_DEFAULT) {
|
||||
return PROTOCOL_NT1;
|
||||
return PROTOCOL_LATEST;
|
||||
}
|
||||
return client_max_protocol;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user