summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-02-12 23:18:29 +0300
committerMatthieu Patou <mat@matws.net>2011-02-13 01:23:05 +0300
commitf8a156dbe649177b9672d364908ef3355508c690 (patch)
tree8859d148c189a743b7bac804b63c178e5175b237
parent17fdee0e92e09c1e5bf6319dfddf7b014b19f314 (diff)
downloadsamba-f8a156dbe649177b9672d364908ef3355508c690.tar.gz
samba-f8a156dbe649177b9672d364908ef3355508c690.tar.bz2
samba-f8a156dbe649177b9672d364908ef3355508c690.zip
librpc: add bindings for dnsp in python
-rw-r--r--librpc/idl/wscript_build7
-rw-r--r--librpc/wscript_build5
-rwxr-xr-xsource4/librpc/wscript_build6
3 files changed, 17 insertions, 1 deletions
diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build
index c8402c6cc1..33dd4c9b28 100644
--- a/librpc/idl/wscript_build
+++ b/librpc/idl/wscript_build
@@ -25,6 +25,11 @@ bld.SAMBA_PIDL_LIST('PIDL',
output_dir='../gen_ndr')
bld.SAMBA_PIDL_LIST('PIDL',
- 'rap.idl dnsp.idl ntprinting.idl preg.idl',
+ 'rap.idl ntprinting.idl preg.idl',
options='--header --ndr-parser',
output_dir='../gen_ndr')
+
+bld.SAMBA_PIDL_LIST('PIDL',
+ 'dnsp.idl',
+ options='--header --ndr-parser --client --python',
+ output_dir='../gen_ndr')
diff --git a/librpc/wscript_build b/librpc/wscript_build
index c9737fbdcb..2870388cc8 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -498,6 +498,11 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_BACKUPKEY',
public_deps='dcerpc NDR_BACKUPKEY'
)
+bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSP',
+ source='gen_ndr/ndr_dnsp_c.c',
+ public_deps='dcerpc NDR_DNSP'
+ )
+
# 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 fd511f8fd6..790f1a34e4 100755
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -335,6 +335,12 @@ bld.SAMBA_PYTHON('python_dcerpc_drsblobs',
realname='samba/dcerpc/drsblobs.so'
)
+bld.SAMBA_PYTHON('python_dcerpc_dnsp',
+ source='../../librpc/gen_ndr/py_dnsp.c',
+ deps='pytalloc-util pyrpc_util NDR_SECURITY RPC_NDR_DNSP',
+ realname='samba/dcerpc/dnsp.so'
+ )
+
bld.SAMBA_PYTHON('python_dcerpc_xattr',
source='../../librpc/gen_ndr/py_xattr.c',