and <emphasis>disabled</emphasis>.
</para>
- <para>The default value is the same as the effective value of
- <smbconfoption name="client signing"/> if the effective value of
- <smbconfoption name="client ipc min protocol"/> is
- <constant>NT1</constant>. In any other case the default value is
- <constant>mandatory</constant>.</para>
-
- <para>Note that the default value will be changed to <constant>mandatory</constant>
- in all cases for Samba 4.5</para>
-
- <para>When the effective value of this option is <constant>mandatory</constant>, SMB signing is required.</para>
+ <para>When set to mandatory or default, SMB signing is required.</para>
<para>When set to auto, SMB signing is offered, but not enforced and if set
to disabled, SMB signing is not offered either.</para>
{
int client_ipc_signing = lpcfg__client_ipc_signing(lp_ctx);
if (client_ipc_signing == SMB_SIGNING_DEFAULT) {
- int ipc_min_protocol = lpcfg_client_ipc_min_protocol(lp_ctx);
- if (ipc_min_protocol >= PROTOCOL_SMB2_02) {
- return SMB_SIGNING_REQUIRED;
- }
- return lpcfg_client_signing(lp_ctx);
+ return SMB_SIGNING_REQUIRED;
}
return client_ipc_signing;
}
{
int client_ipc_signing = lp__client_ipc_signing();
if (client_ipc_signing == SMB_SIGNING_DEFAULT) {
- int ipc_min_protocol = lp_client_ipc_min_protocol();
- if (ipc_min_protocol >= PROTOCOL_SMB2_02) {
- return SMB_SIGNING_REQUIRED;
- }
- return lp_client_signing();
+ return SMB_SIGNING_REQUIRED;
}
return client_ipc_signing;
}