Python: Difference between revisions
From SambaWiki
m (→LDB) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
apt-get install python-ldb |
apt-get install python-ldb |
||
There is package for ArchLinux in AUR: |
|||
yaourt python-ldb |
|||
== tdb == |
== tdb == |
||
== registry == |
== samba.registry == |
||
== param (loadparm) == |
== samba.param (loadparm) == |
||
== credentials == |
== samba.credentials == |
||
== samba.tests == |
|||
[[Writing_Python_Tests|Tests written in Python]] should be under this namespace. This includes both unit and integration tests. |
|||
== samba.dcerpc == |
|||
All RPC protocols have python bindings avaiable generated by [[PIDL]] and exposed as '''samba.dcerpc.''protocol''''' |
|||
== ... == |
== ... == |
||
There is some other modules, we need to describe them there. |
There is some other modules, we need to describe them there. |
||
=Python3= |
|||
Samba and the libraries [[TDB]] [https://talloc.samba.org talloc] [[LDB|ldb]] have both Python and [[Python3]] modules. |
|||
More detail on the progress to shipping [[Python3|Samba with Python3]] is on that page |
Latest revision as of 07:24, 26 January 2018
Available modules
LDB
LDB is the database engine used in Samba4. For further information see [1].
Installing in debian/ubuntu:
apt-get install python-ldb
tdb
samba.registry
samba.param (loadparm)
samba.credentials
samba.tests
Tests written in Python should be under this namespace. This includes both unit and integration tests.
samba.dcerpc
All RPC protocols have python bindings avaiable generated by PIDL and exposed as samba.dcerpc.protocol
...
There is some other modules, we need to describe them there.
Python3
Samba and the libraries TDB talloc ldb have both Python and Python3 modules.
More detail on the progress to shipping Samba with Python3 is on that page