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.

Source Distribution

py3-libldap-1.3.4.tar.gz (17.4 kB view hashes)

Uploaded source

Supported by

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