python-ldap¶
What is python-ldap?¶
python-ldap provides an object-oriented API to access LDAP directory servers from Python programs.
For LDAP operations the module wraps OpenLDAP’s client library, libldap.
Additionally, the package contains modules for other LDAP-related stuff:
- LDIF parsing and generation
- LDAP URLs
- LDAPv3 subschema
Get it!¶
Installation instructions are available for several platforms.
Source code can be obtained using Git:
git clone https://github.com/python-ldap/python-ldap
Mailing list¶
Discussion about the use and future of python-ldap occurs in
the python-ldap@python.org mailing list.
You can subscribe or unsubscribe to this list or browse the list archive.
Documentation¶
The documentation for python-ldap 3.x is hosted at Read the Docs.
You can switch between versions of the library, or download PDF or HTML versions for offline use, using the sidebar on the right.
Documentation for some older versions is available for download at the GitHub release page.
Contents¶
- Installing python-ldap
- Bytes/text management
- python-ldap Reference Documentation
ldapLDAP library interface moduleldap.asyncsearchStream-processing of large search resultsldap.controlsHigh-level access to LDAPv3 extended controlsldap.dnLDAP Distinguished Name handlingldap.extopHigh-level access to LDAPv3 extended operationsldap.filterLDAP filter handlingldap.modlistGenerate modify listsldap.resiterGenerator for stream-processing of large search resultsldap.schemaHandling LDAPv3 schemaldap.syncreplImplementation of a syncrepl consumerldap.saslSASL Authentication MethodsldifLDIF parser and generatorldapurlLDAP URL handlingslapdtestSpawning test instances of OpenLDAP’s slapd server
- Third-party documentation
- Contributing to python-ldap
- python-ldap FAQ