Skip to main content

OpenLDAP library wrapper

Project description

libldap module - a wrapper for OpenLDAP library - version 1.3


This module is a Python3 wrapper for the OpenLDAP library. Module defines only one exception: `LDAPError'. This exception is accompagnied with a string value which is generally the error message generated by OpenLDAP library.

See OpenLDAP library documentation ( for more details.

Basic Installation

To build libldap:

  1. You need to have OpenLDAP library and file `/usr/include/ldap.h' installed on your system

  2. You need to have SASL library and file `/usr/include/sasl/sasl.h'

  3. `cd' to the toplevel directory of the package and run the command:

    $ python3 build

  4. To (re)make html documentation, run (you need sphinx' tool for Python3, see and sphinx_py3doc_enhanced_theme' module):

    $ python3 build_sphinx --source-dir sphinx/source --build-dir doc

    and you will find the documentation generated in subdirectory doc/html.

  5. As `root', type:

    $ python3 install

  6. Optionally, you can type:

    $ python3 clean

    to save disk space.


On line documentation can be found at:

License information

libldap is free software. See the file COPYING for copying conditions.


This module has been tested on Linux and FreeBSD.


Yves Legrandgerard email:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py3-libldap, version 1.3.4
Filename, size File type Python version Upload date Hashes
Filename, size py3-libldap-1.3.4.tar.gz (17.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page