summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',