PySamba

PySamba is a Python extension module which provides a basic wrapper around the pam_smb authentication library. It currently has very limited functionality, but should be easily extensible. It is a derivative of the smbvalid module, with the following improvments:

Downloading

You can download the current tarball here.

The CVS archive is here.

Installing

The tarball includes a Python distutils setup.py script which will build the necessary pam_smb 2.0 dependency (included with the distribution). To install, simply run:

 # python setup.py build
 # python setup.py install

The script installs a single module, smbvalid in site-packages.

Using

The smbvalid module exposes a single function, check. check takes 5 parameters: username, password, pdc, bdc, and domain. See the included README file for more information.

PySamba (last modified 2008-11-17 18:28:49)