CVE-2016-2115: docs-xml: always default "client ipc signing" to "mandatory"
[samba.git] / source3 / param / loadparm.c
index e251a988c5514497955b4995e2bf11de1b1dc95d..47d2a929834526dee37486dfd9f905925327c19f 100644 (file)
@@ -4466,11 +4466,7 @@ int lp_client_ipc_signing(void)
 {
        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;
 }