Skip to main content

python3-ldap HAS BEEN RENAMED ldap3 to avoid confusion with the former python-ldap project.

See https://pypi.python.org/pypi/ldap3

LDAP3

Latest Version TRAVIS-CI build status for master branch License

ldap3 is a strictly RFC 4511 conforming LDAP V3 pure Python client. The same codebase works with Python, Python 3, PyPy and PyPy3.

This project was formerly named python3-ldap. The name has been changed to avoid confusion with the python-ldap library.

Home Page

Project home page is https://github.com/cannatag/ldap3

Documentation

Documentation is available at http://ldap3.readthedocs.org

License

The ldap3 project is open source software released under the LGPL v3 license.

PEP8 Compliance

ldap3 is PEP8 compliant, except for line length.

Download

Package download is available at https://pypi.python.org/pypi/ldap3.

Install

Install with pip install ldap3

Git repository

You can download the latest source at https://github.com/cannatag/ldap3

Continuous integration

Continuous integration for testing is at https://travis-ci.org/cannatag/ldap3

Support

You can submit support tickets on https://github.com/cannatag/ldap3/issues/new

Thanks to

  • Ilya Etingof, the author of the pyasn1 package for his excellent work and support.

  • Mark Lutz for his Learning Python and Programming Python excellent books series and John Goerzen and Brandon Rhodes for their book Foundations of Python Network Programming. These books are wonderful tools for learning Python and this project owes a lot to them.

  • JetBrains for donating to this project the Open Source license of PyCharm 3 Professional.

  • GitHub for providing the free source repository space and the tools I use to develop this project.

  • The Python Software Foundation for providing support for the test lab infrastructure.

Contact me

For information and suggestions you can contact me at cannatag@gmail.com or you can also a support ticket on https://github.com/cannatag/ldap3/issues/new

Changelog

  • 0.9.8.4 2015.05.19
    • Added EXTENDED log detail level with prettyPrint description of ldap messages

    • fixed logging of IPv6 address description

    • fixed checking of open address when dns returns more than one ip for the same host

    • fixed selection of proper address when failing back from IPv6 to IPv4 and vice-versa

    • when sending controls controlValue is now optional (as stated in RFC 4511), specify None to not send it

  • 0.9.8.3 2015.05.11
    • Added support for logging

    • Added LDAPInvalidTlsSpecificationError exception

    • Added support for kerberos sasl - needs the gssapi package (thanks sigmaris and pefoley2)

    • Added support for using generator objects in ldap operations (thanks Matt)

    • Fixed bug in collect_usage (thanks Philippe)

    • Changed default server mode from IP_SYSTEM_DEFAULT to IP_V6_PREFERRED

  • 0.9.8.2 2015.04.08
    • SaslCred returned as raw bytes (thanks Peter)

    • search_paged now properly works in abstract.reader (thanks wazboy)

  • 0.9.8.1 2015.04.04
    • Added NTLMv2 authentication method

    • extend.standard.who_am_i() now try to decode the authzid as unicode

    • tests for AD (Active Directory) now use tls_before_bind when opening a connection

    • 0.9.8 not working for pypi problems

  • 0.9.7.12 2015.03.18
    • Fixed missing optional authzid in digestMD5 sasl mechanism (thanks Damiano)

    • Changed unneeded classmethods to staticmethods

  • 0.9.7.11 2015.03.12
    • Fixed address_info resolution on systems without the IPV4MAPPED flag (thanks Andryi)

  • 0.9.7.10 2015.02.28
    • Fixed bug in PagedSearch when server has a hard limit on the number of entries returned (thanks Reimar)

    • 0.9.7.9 not working for pypi problems

    • 0.9.7.8 not working for pypi problems

    • 0.9.7.7 not working for pypi problems

    • 0.9.7.6 not working for pypi problems

  • 0.9.7.5 2015.02.20
    • Fixed exception raised when opening a connection to a server. If there is only one candidate address and there is an error it returns the specific Exception, not a generic LDAPException error

    • Address_info filters out any impossible address to reach

    • Address_info include an IPV4MAPPED address for IPV6 host that try to reach an IPV4 only server

    • Added SyncMock strategy (needs the sldap3 package)

    • Fixed bug when using the aproximation operation in ldap search operations (thanks Laurent)

    • Removed response from exception raised with raise_exceptions=True to avoid very long exceptions message

  • 0.9.7.4 2015.02.02
    • Added connection.entries property for storing response from search operations as and abstract.Entry collection.

  • 0.9.7.3 2015.01.25
    • Modify operation type can also be passed as integer

  • 0.9.7.2 2015.01.16
    • Fixed a bug when resolving IP address with getaddrinfo(). On OSX returned an UDP connection (thanks Hiroshi).

  • 0.9.7.1 2015.01.05
    • Moved to Github

    • Moved to Travis-CI for continuous integration

    • Moved to ReadTheDocs for documentation

    • Moved testing servers in the cloud, to allow testing from Travis-CI

    • Project renamed from python3-ldap to ldap3 to avoid name clashing with the existing python-ldap library

    • Constant values in ldap3 are now strings. This is helpful in testing and debugging

    • Test suite fully refactored to be used in cloud lab and local development lab

    • Test suite includes options for testing against eDirectory, Active Directory and OpenLDAP

Previous versions changelog is available at http://pythonhosted.org//python3-ldap/changelog.html

Release files for python3-ldap 0.9.8.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python3-ldap 0.9.8.4
File Size Uploaded
python3-ldap-0.9.8.4.tar.gz 263.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for python3-ldap 0.9.8.4
File Interpreter ABI Platform
python3_ldap-0.9.8.4-py2.py3-none-any.whl Python 3, Python 2 none any Details
python3-ldap-0.9.8.4.win-amd64.exe Details

Total release size: 1.1 MB

Release files / python3-ldap-0.9.8.4.tar.gz

Download URL python3-ldap-0.9.8.4.tar.gz
Size 263.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f18a0e64f717a60f3bfb74b83a3298830efff0860d90d21619e158a90f9e9494
BLAKE2b-256 checksum
How to use checksums
b43df19959c68cbe291b92a18271327ccd4cc8ac1a9a19a6bdd80750b9f18dc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python3_ldap-0.9.8.4-py2.py3-none-any.whl

Download URL python3_ldap-0.9.8.4-py2.py3-none-any.whl
Size 295.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
da4fb40461214835477afb2d31315e607508e6c17daf7de4af1348290a2b8731
BLAKE2b-256 checksum
How to use checksums
5aee98e445349b4c5296b41798719dd681195beb3550336090a399ab236527e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python3-ldap-0.9.8.4.win-amd64.exe

Download URL python3-ldap-0.9.8.4.win-amd64.exe
Size 520.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6507e870d5720a52d2ed6f70f88cfcfaf8e234c2c223b33c04237262ef16ec39
BLAKE2b-256 checksum
How to use checksums
f01977dd421ec1c229902dd271eedb4641bc9681087deb099074ec73132e7fa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9.8.4 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page