]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc: add python_ioctl
authorStefan Metzmacher <metze@samba.org>
Thu, 11 Jun 2026 14:50:33 +0000 (16:50 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 24 Jul 2026 13:33:36 +0000 (13:33 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
librpc/idl/wscript_build
source4/librpc/wscript_build

index 998bb49958d9784c3e7b22bae3d1bc5b5031c7df..92aa3644f57980159894a6de2f7b45eabe6b0154 100644 (file)
@@ -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)
 
index 5fc8afaae31a882dac1585c43fbd80c69e816c0c..a710d25346553eb82126a16abb4553a917984fe9 100644 (file)
@@ -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),