python: Work around the fact that there are two "security" modules now.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 14 Jan 2008 18:49:52 +0000 (19:49 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 14 Jan 2008 18:53:08 +0000 (19:53 +0100)
This well demonstrates the fact we need hierarchy.
(This used to be commit df7e3498824e27f8a6d61b8b6f52577eab248d2c)

source4/librpc/config.mk
source4/scripting/python/modules.c

index cda57bedcf050ea577cf13711b45cc6941019adc..ddb07dc6e2914da571652b19d69d1c533a5e6537 100644 (file)
@@ -629,5 +629,5 @@ PRIVATE_DEPENDENCIES = dcerpc_samr
 OBJ_FILES = gen_ndr/py_lsa.o
 PRIVATE_DEPENDENCIES = RPC_NDR_LSA
 
-[PYTHON::python_security]
+[PYTHON::python_dcerpc_security]
 OBJ_FILES = gen_ndr/py_security.o
index 1728f166bdcbe69515b7c7084dd7584598e57de5..c953e9866cbf1a2f070b8b08faae458a91c266e9 100644 (file)
@@ -42,7 +42,7 @@ static void initdcerpc_misc(void) {}
 extern void initmgmt(void);
 extern void initatsvc(void);
 extern void initsamr(void);
-extern void initsecurity(void);
+static void initdcerpc_security(void) {}
 extern void initlsa(void);
 
 static struct _inittab py_modules[] = { STATIC_LIBPYTHON_MODULES };