Missing Python Module from Build Scripts?

Ricardo Jorge ricardo.swat.samba at gmail.com
Sat Nov 20 08:04:17 MST 2010


Hello.

Jelmer, I'm going to follow up on your suggestion to use the Python DCE/RPC
modules for Share Management in SWAT.

I believe that the Python module that has this information is (or could be)
samba.dcerpc.srvsvc but it's not being compiled by the build scripts.

Am I looking for the DCE/RPC Share Functions in the wrong place or is this
really missing?

This patch compiles the code module:

diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index e7f5267..9960d63 100755
@@ -212,6 +212,12 @@ bld.SAMBA_PYTHON('python_dcerpc',
     realname='samba/dcerpc/base.so'
     )

+bld.SAMBA_PYTHON('python_srvsvc',
+    source='../../librpc/gen_ndr/py_srvsvc.c',
+    deps='RPC_NDR_SRVSVC pytalloc-util pyrpc_util',
+    realname='samba/dcerpc/srvsvc.so'
+    )
+

 bld.SAMBA_PYTHON('python_echo',
     source='../../librpc/gen_ndr/py_echo.c',


Best Regards,
Ricardo


More information about the samba-technical mailing list