From 57e30bc0cba85e5361ae62f679f7de544d0676e6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 26 Sep 2011 09:50:11 +1000 Subject: [PATCH] dns: build python bindings for dnsserver RPC protocol --- librpc/wscript_build | 5 +++++ source4/librpc/wscript_build | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/librpc/wscript_build b/librpc/wscript_build index e5c80920976..2019a0429f6 100644 --- a/librpc/wscript_build +++ b/librpc/wscript_build @@ -558,6 +558,11 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSP', public_deps='dcerpc-binding NDR_DNSP' ) +bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSSERVER', + source='gen_ndr/ndr_dnsserver_c.c', + public_deps='dcerpc-binding ndr-standard' + ) + # a grouping library for NDR subsystems that may be used by more than one target bld.SAMBA_LIBRARY('ndr-samba', source=[], diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build index 5a76133f1ab..aedcb11b71c 100755 --- a/source4/librpc/wscript_build +++ b/source4/librpc/wscript_build @@ -340,6 +340,12 @@ bld.SAMBA_PYTHON('python_netlogon', realname='samba/dcerpc/netlogon.so' ) +bld.SAMBA_PYTHON('python_dnsserver', + source='../../librpc/gen_ndr/py_dnsserver.c', + deps='RPC_NDR_DNSSERVER pytalloc-util pyrpc_util', + realname='samba/dcerpc/dnsserver.so' + ) + bld.SAMBA_SCRIPT('python_dcerpc_init', pattern='rpc/dcerpc.py', installdir='python/samba/dcerpc', -- 2.11.4.GIT