]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc/idl: build Python bindings for struct file_id
authorRalph Boehme <slow@samba.org>
Mon, 25 Aug 2025 14:39:42 +0000 (16:39 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 17 Jul 2026 10:18:36 +0000 (10:18 +0000)
Soon adding struct file_id to smbXsrv.idl, so
examples/scripts/debugging/smbXsrvdump will need this.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
librpc/idl/wscript_build
source4/librpc/wscript_build

index 188fa45d65177c6d7613b062c6305d38c2a04363..998bb49958d9784c3e7b22bae3d1bc5b5031c7df 100644 (file)
@@ -88,7 +88,6 @@ bld.SAMBA_PIDL_LIST('PIDL',
                     '''
                     bkupblobs.idl
                     cab.idl
-                    file_id.idl
                     fscc.idl
                     fsrvp_state.idl
                     named_pipe_auth.idl
@@ -130,6 +129,7 @@ bld.SAMBA_PIDL_LIST('PIDL',
                     dns.idl
                     dnsp.idl
                     drsblobs.idl
+                    file_id.idl
                     gmsa.idl
                     idmap.idl
                     keycredlink.idl
index 216b61ef5e18b96174a2dfb6214baafb261f3a98..5fc8afaae31a882dac1585c43fbd80c69e816c0c 100644 (file)
@@ -576,6 +576,13 @@ bld.SAMBA_PYTHON('python_smbXsrv',
         cflags_end=gen_cflags
         )
 
+bld.SAMBA_PYTHON('python_file_id',
+        source='../../librpc/gen_ndr/py_file_id.c',
+        deps='%s %s' % (pytalloc_util, pyrpc_util),
+        realname='samba/dcerpc/file_id.so',
+        cflags_end=gen_cflags
+        )
+
 if bld.PYTHON_BUILD_IS_ENABLED():
     bld.SAMBA_SCRIPT('python_dcerpc_init',
                    pattern='rpc/dcerpc.py',