From: Stefan Metzmacher Date: Thu, 11 Jun 2026 14:50:33 +0000 (+0200) Subject: librpc: add python_ioctl X-Git-Tag: talloc-2.5.0~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3bb323e60b7fae03c7cf4b4831c8dc9d893f5b8;p=thirdparty%2Fsamba.git librpc: add python_ioctl Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build index 998bb49958d..92aa3644f57 100644 --- a/librpc/idl/wscript_build +++ b/librpc/idl/wscript_build @@ -113,7 +113,7 @@ bld.SAMBA_PIDL_LIST('PIDL', wsp_data.idl wsp.idl ''', - options='--header --ndr-parser', + options='--header --ndr-parser --python', output_dir='../gen_ndr', generate_fuzzers=False) diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build index 5fc8afaae31..a710d253465 100644 --- a/source4/librpc/wscript_build +++ b/source4/librpc/wscript_build @@ -569,6 +569,13 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_SMBXSRV', public_deps='dcerpc-binding NDR_SMBXSRV' ) +bld.SAMBA_PYTHON('python_ioctl', + source='../../librpc/gen_ndr/py_ioctl.c', + deps='NDR_IOCTL %s %s' % (pytalloc_util, pyrpc_util), + realname='samba/dcerpc/ioctl.so', + cflags_end=gen_cflags + ) + bld.SAMBA_PYTHON('python_smbXsrv', source='../../source3/librpc/gen_ndr/py_smbXsrv.c', deps='RPC_NDR_SMBXSRV %s %s' % (pytalloc_util, pyrpc_util),