python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. Mainly, it wraps the OpenLDAP 2.3+ libs for that purpose. Additionally, the package contains modules for other LDAP-related stuff (such as processing LDIF, LDAPURLs, and LDAPv3 schema).
| Tags | Software Development Libraries Python Modules Networking LDAP Database API |
|---|---|
| Licenses | Python |
| Operating Systems | OS Independent |
| Implementation | Python |
Recent releases


Changes: Fixes were made to the schema parser.


Changes: Various fixes were made for 64-bit systems. It now handles out-of-range error codes returned by libldap.


Changes: Some fixes for building were added (for SunStudio and gcc 4.4). Minor clarifications were made in the documentation. SASL-related constants were added.


Changes: A fix was made in ldap.schema.models.NameForm. The __contains__() method was added to the ldap.schema.models.NameForm and ldap.cidict.cidict classes.


Changes: This release fixes a segfault when calling LDAPObject.get_option(). ldap.dn.escape_dn_chars() now really adheres to RFC 4514 by escaping null characters and a space occurring at the beginning of the string. ldap.dn.explode_dn() and ldap.dn.explode_rdn() have optional keyword argument flags that are passed to ldap.dn.str2dn().