summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-03 23:33:47 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-03 23:47:26 +0200
commit5a026219a97e396284d30a33e1ab57c059be67e0 (patch)
treee7aa064fff19d254c14871a90468d63f648b9ae8 /source4/scripting
parent13a6aee591e972413a522944d168257e17808ca3 (diff)
downloadsamba-5a026219a97e396284d30a33e1ab57c059be67e0.tar.gz
samba-5a026219a97e396284d30a33e1ab57c059be67e0.tar.bz2
samba-5a026219a97e396284d30a33e1ab57c059be67e0.zip
s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/pyglue.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c
index 7b813a069a..37d75cd5a1 100644
--- a/source4/scripting/python/pyglue.c
+++ b/source4/scripting/python/pyglue.c
@@ -751,12 +751,6 @@ void initglue(void)
PyModule_AddObject(m, "DS_DC_FUNCTION_2008", PyInt_FromLong(DS_DC_FUNCTION_2008));
PyModule_AddObject(m, "DS_DC_FUNCTION_2008_R2", PyInt_FromLong(DS_DC_FUNCTION_2008_R2));
- /* "LDAP_SERVER_SD_FLAGS_OID" */
- PyModule_AddObject(m, "SECINFO_OWNER", PyInt_FromLong(SECINFO_OWNER));
- PyModule_AddObject(m, "SECINFO_GROUP", PyInt_FromLong(SECINFO_GROUP));
- PyModule_AddObject(m, "SECINFO_DACL", PyInt_FromLong(SECINFO_DACL));
- PyModule_AddObject(m, "SECINFO_SACL", PyInt_FromLong(SECINFO_SACL));
-
/* one of the most annoying things about python scripts is
that they don't die when you hit control-C. This fixes that
sillyness. As we do all database operations using