CVE-2016-2115: docs-xml: always default "client ipc signing" to "mandatory"
[samba.git] / lib / param / loadparm.c
index 878744f805f399aff41fe7132e80b836d04066f3..f6a7cfefdffa21b892cf093c2adc025c699adb7d 100644 (file)
@@ -3350,11 +3350,7 @@ int lpcfg_client_ipc_signing(struct loadparm_context *lp_ctx)
 {
        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;
 }