python: Enable building of the wkssvc python bindings.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 14 Jan 2008 19:14:53 +0000 (20:14 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 14 Jan 2008 19:14:53 +0000 (20:14 +0100)
source/librpc/config.mk
source/scripting/bin/epdump.py [new file with mode: 0644]
source/scripting/python/modules.c

index 78e90b464d217484768f7138941ade19b3b83715..8774f2fd172232b5a4a04a28f53389b0366ce79f 100644 (file)
@@ -633,5 +633,9 @@ PRIVATE_DEPENDENCIES = RPC_NDR_SVCCTL
 OBJ_FILES = gen_ndr/py_lsa.o
 PRIVATE_DEPENDENCIES = RPC_NDR_LSA
 
+[PYTHON::python_wkssvc]
+OBJ_FILES = gen_ndr/py_wkssvc.o
+PRIVATE_DEPENDENCIES = RPC_NDR_WKSSVC
+
 [PYTHON::python_dcerpc_security]
 OBJ_FILES = gen_ndr/py_security.o
diff --git a/source/scripting/bin/epdump.py b/source/scripting/bin/epdump.py
new file mode 100644 (file)
index 0000000..15dee33
--- /dev/null
@@ -0,0 +1,24 @@
+#!/usr/bin/python
+
+# Unix SMB/CIFS implementation.
+# Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
+#   
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#   
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#   
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+
+import sys
+
+if len(sys.argv) < 2:
+    print "Usage: %s <binding-string>" % sys.argv[0]
+    sys.exit(1)
index dc6e79fe1a3d8b7622d072b1513067a782a4f362..b2dd50b507961aea005804a9b4d5f2acd0ce9cb9 100644 (file)
@@ -45,6 +45,7 @@ extern void initsamr(void);
 static void initdcerpc_security(void) {}
 extern void initlsa(void);
 extern void initsvcctl(void);
+extern void initwkssvc(void);
 
 static struct _inittab py_modules[] = { STATIC_LIBPYTHON_MODULES };