CVE-2023-42669 s3-rpc_server: Disable rpcecho for consistency with the AD DC
authorAndrew Bartlett <abartlet@samba.org>
Tue, 12 Sep 2023 07:01:03 +0000 (19:01 +1200)
committerJule Anger <janger@samba.org>
Sun, 8 Oct 2023 20:06:35 +0000 (22:06 +0200)
The rpcecho server in source3 does have samba the sleep() feature that
the s4 version has, but the task architecture is different, so there
is not the same impact.  Hoever equally this is not something that
should be enabled on production builds of Samba, so restrict to
selftest builds.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15474

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_server/wscript_build

index 341df41a321f7fc4174a8ec50f8298fa73105913..5ed8128339568baf4c1825499aa77d75c126e66c 100644 (file)
@@ -38,6 +38,7 @@ bld.SAMBA3_BINARY('rpcd_rpcecho',
                   RPC_WORKER
                   RPC_RPCECHO
                   ''',
+                  for_selftest=True,
                   install_path='${SAMBA_LIBEXECDIR}')
 
 bld.SAMBA3_BINARY('rpcd_classic',