mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
smbXsrv.idl: add python bindings
This is useful for some scripting examples and debugging... Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
b96ce32f82
commit
8e850685a1
@ -10,7 +10,7 @@ bld.SAMBA_PIDL_LIST('PIDL',
|
||||
smbXsrv.idl
|
||||
leases_db.idl
|
||||
''',
|
||||
options='--includedir=%s --header --ndr-parser' % topinclude,
|
||||
options='--includedir=%s --header --ndr-parser --client --python' % topinclude,
|
||||
output_dir='../gen_ndr')
|
||||
|
||||
bld.SAMBA_PIDL_LIST('PIDL',
|
||||
|
@ -533,6 +533,18 @@ bld.SAMBA_PYTHON('python_mdssvc',
|
||||
cflags_end=gen_cflags
|
||||
)
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('RPC_NDR_SMBXSRV',
|
||||
source='../../source3/librpc/gen_ndr/ndr_smbXsrv_c.c',
|
||||
public_deps='dcerpc-binding NDR_SMBXSRV'
|
||||
)
|
||||
|
||||
bld.SAMBA_PYTHON('python_smbXsrv',
|
||||
source='../../source3/librpc/gen_ndr/py_smbXsrv.c',
|
||||
deps='RPC_NDR_SMBXSRV %s %s' % (pytalloc_util, pyrpc_util),
|
||||
realname='samba/dcerpc/smbXsrv.so',
|
||||
cflags_end=gen_cflags
|
||||
)
|
||||
|
||||
if bld.PYTHON_BUILD_IS_ENABLED():
|
||||
bld.SAMBA_SCRIPT('python_dcerpc_init',
|
||||
pattern='rpc/dcerpc.py',
|
||||
|
Loading…
Reference in New Issue
Block a user