dns: build python bindings for dnsserver RPC protocol
authorAndrew Tridgell <tridge@samba.org>
Sun, 25 Sep 2011 23:50:11 +0000 (09:50 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 4 Oct 2011 04:08:56 +0000 (15:08 +1100)
librpc/wscript_build
source4/librpc/wscript_build

index e5c809209763d4981dd002400ced22b83cde1d6a..2019a0429f6a9167e322aade8b207877593b0944 100644 (file)
@@ -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=[],
index 5a76133f1ab2e0166405c2ccb86fde26fed55670..aedcb11b71c04b11d51165d75cf756b88c65256d 100755 (executable)
@@ -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',