summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-11-11 11:20:29 +0100
committerJeremy Allison <jra@samba.org>2020-11-16 19:53:44 +0000
commit2cff5990daa324226a2c32245eef78019ef1b5bf (patch)
treeee6cc2f915352781cf1cba567887c967a63c977c /python
parent26ba04a4d1987a859152751e6083d9b9aef770ff (diff)
downloadsamba-2cff5990daa324226a2c32245eef78019ef1b5bf.tar.gz
pylibsmb: Add a compatible python-level wrapper
Right now this is empty, but it is the basis for moving complexity out or pylibsmb.c into python code. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/samba3/libsmb_samba_internal.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/python/samba/samba3/libsmb_samba_internal.py b/python/samba/samba3/libsmb_samba_internal.py
new file mode 100644
index 00000000000..d8621a270a6
--- /dev/null
+++ b/python/samba/samba3/libsmb_samba_internal.py
@@ -0,0 +1,19 @@
+# Copyright (C) Volker Lendecke <vl@samba.org> 2020
+#
+# 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/>.
+
+from samba.samba3.libsmb_samba_cwrapper import *
+
+class Conn(LibsmbCConn):
+ pass