Skip to main content

pyramid_ldap3 provides LDAP authentication services for your Pyramid application. It is a fork of the pyramid_ldap package with the goal of eliminating the dependency on python-ldap and ldappool, replacing it with a dependency on ldap3, which is a pure Python package that supports both Python 2 and Python 3.

See the documentation at https://pyramid-ldap3.readthedocs.io/ for more information.

0.4.2

  • We require Python 2.7 or 3.5 and newer now

  • Fixed and modernized the unit tests

0.4.1

  • Avoid fetching a connection from the pool when the result is cached. This should improve the performance, particularly when the connection pool is not working properly for some reason. Thanks to Daniel Nilsson.

  • Improved and documented the sample application

0.4

  • Made pyramid_ldap3 compatible with Pyramid 1.10

  • We require Pyramid >= 1.4 now

0.3.2

  • The login value in the search filter is now properly escaped in the authenticate() method. Although the bind test in the second stage of the method ensures the proper password is passed, this could be exploited to login with a different user name like ‘foo*’ instead of ‘foobar’. Thanks to Patrick Valsecchi for the bug report.

0.3.1

  • Since ldap3 version 2.0.7, schema information is loaded from the server on every connection. This is normally not needed for authentication and slows down the connections, so we now disable this feature. If you fetch user or group attributes and want them to be properly formatted, you must enable this feature by setting get_info to ‘SCHEMA’ or ‘ALL’ when calling ldap_setup().

0.3

  • Adaptations to changes in ldap3 version 2, including changed constant names.

  • This version is intended to support the newer ldap3 versions >= 2.0 only.

0.2.5

  • Explicitly requires ldap3 < version 2.0 for compatibility reasons.

  • This version is intended to support the older ldap3 versions < 2.0 only.

0.2.4

  • The pool lifetime is now configurable

0.2.3

  • Account for renaming of python3-ldap to ldap3

  • Proper unbinding of Connections

  • Do not fill cache if caching has been disabled

  • Release as source package and universal wheel

0.2.2

  • Support server pools

  • Ignore results without a dn instead of raising an error

  • Escape special characters when querying for groups

  • Do not cache invalid responses

  • Added documentation on recursive group queries

0.2.1

  • Use implicit binding and proper unbinding of connections.

0.2

  • Made return values of pyramid_ldap3 compatible with pyramid_ldap.

0.1

  • Initial version

Metadata

Release files for pyramid-ldap3 0.4.2

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

Source distribution (sdist)

Source distribution for pyramid-ldap3 0.4.2
File Size Uploaded
pyramid_ldap3-0.4.2.tar.gz 24.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyramid-ldap3 0.4.2
File Interpreter ABI Platform
pyramid_ldap3-0.4.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 32.5 kB

Release files / pyramid_ldap3-0.4.2.tar.gz

Download URL pyramid_ldap3-0.4.2.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9481975d4e37b35fd060877150646990984012354225ac8f35bb490e0bc2848c
BLAKE2b-256 checksum
How to use checksums
8a953b3b28bb4275b78641935f5546194d5f7eba2b7d4800e3a2bd6f39f22527
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.2

Release files / pyramid_ldap3-0.4.2-py2.py3-none-any.whl

Download URL pyramid_ldap3-0.4.2-py2.py3-none-any.whl
Size 8.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e943e53503510887a200c84d51745c9f7bdb56d1207ea4686e6b86c5a48ddcb7
BLAKE2b-256 checksum
How to use checksums
424d4fdcdd4dafa8f38fd7924b3e09e575fc6cfbcf11b814c5750596f1eae87a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.2

Release history Release notifications | RSS feed

0.5

2 release files

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

1 release file

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