summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/config.mk4
-rw-r--r--source4/scripting/python/modules.c1
-rw-r--r--source4/scripting/python/pyrpc.h2
3 files changed, 6 insertions, 1 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 7a5d47f682..b6f3fdac52 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -662,5 +662,9 @@ PRIVATE_DEPENDENCIES = RPC_NDR_DFS
OBJ_FILES = gen_ndr/py_unixinfo.o
PRIVATE_DEPENDENCIES = RPC_NDR_UNIXINFO
+[PYTHON::python_drsuapi]
+OBJ_FILES = gen_ndr/py_drsuapi.o
+PRIVATE_DEPENDENCIES = RPC_NDR_DRSUAPI
+
[PYTHON::python_dcerpc_security]
OBJ_FILES = gen_ndr/py_security.o
diff --git a/source4/scripting/python/modules.c b/source4/scripting/python/modules.c
index 603c1df21c..ba85994636 100644
--- a/source4/scripting/python/modules.c
+++ b/source4/scripting/python/modules.c
@@ -36,6 +36,7 @@ extern void inituuid(void);
extern void init_net(void);
extern void initecho(void);
extern void initdfs(void);
+extern void initdrsuapi(void);
extern void initwinreg(void);
extern void initepmapper(void);
extern void initinitshutdown(void);
diff --git a/source4/scripting/python/pyrpc.h b/source4/scripting/python/pyrpc.h
index 3a5d235cfc..f4d0f37c39 100644
--- a/source4/scripting/python/pyrpc.h
+++ b/source4/scripting/python/pyrpc.h
@@ -26,7 +26,7 @@
#define dom_sid2_Type dom_sid_Type
#define dom_sid28_Type dom_sid_Type
#define dom_sid2_Check dom_sid_Check
-#define dom_sid28_Check dom_sid28_Check
+#define dom_sid28_Check dom_sid_Check
/* This macro is only provided by Python >= 2.3 */
#ifndef PyAPI_DATA