Installation - Wengex/PyADLdap GitHub Wiki

First you must install a python-ldap dependence:

  • On debian and derivative

    apt-get install python-ldap
    
  • Or, if you prefer, you need only install dependencies python-ldap with the following command

    apt-get build-dep python-ldap
    

Then you can use pip to install it:

    pip install pyadldap

Or you can download the source code and install it with the following command:

    python setup.py install

Once installed, you can import the adLDAP class:

    from pyadldap.adldap import adLDAP