summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-08 03:23:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-08 03:23:53 +0200
commit5cf6c42658755f0a126a5bd6cdd9f215779b75a8 (patch)
treeb4eb199e9048587bcdc9841a357d7385d44c66b6 /source4/scripting/python
parentf253c3ad91d66aeb594e8088c462257277748263 (diff)
downloadsamba-5cf6c42658755f0a126a5bd6cdd9f215779b75a8.tar.gz
samba-5cf6c42658755f0a126a5bd6cdd9f215779b75a8.tar.bz2
samba-5cf6c42658755f0a126a5bd6cdd9f215779b75a8.zip
Add python bindings for drsuapi.
(This used to be commit ba3f0312f0dda47fb16ed9b8eee3750b209e0dad)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/modules.c1
-rw-r--r--source4/scripting/python/pyrpc.h2
2 files changed, 2 insertions, 1 deletions
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