Skip to main content

pyramid_ldap provides LDAP authentication services for your Pyramid application. Thanks to the ever-awesome SurveyMonkey for sponsoring the development of this package!

See the documentation at https://docs.pylonsproject.org/projects/pyramid_ldap/en/latest/ for more information.

This package will only work with Pyramid 1.3 and later.

Installation

pyramid_ldap uses pyldap which in turn requires libldap2 and libsasl2 development headers installed.

On Ubuntu 16.04 you can install them using the command apt-get install libldap2-dev libsasl2-dev.

0.3.1.post1 (2018-05-15)

  • version changed in setup.py

0.3.1 (2018-05-15)

  • Added wheels license to setup.cfg

0.3 (2018-05-15)

  • Python 3 is now supported! This is possible thanks to python-ldap supporting python 3

  • BREAKING CHANGE: pyramid_ldap now depends on python-ldap >= 3.0, which supports python 2 and 3. If you upgrade pyramid_ldap without upgrading python-ldap, you will see failures where python-ldap receives text arguments instead of bytes. See below for more information.

  • python-ldap >= 3.0 stopped accepting bytes type arguments for many LDAPObject methods. We now use the pyramid.compat.text_ function to support text arguments for python 2 and 3.

  • In versions 0.2 and lower, invalid LDAP strings passed to pyramid_ldap.Connector.authenticate would raise ldap.FILTER_ERROR. In 0.3 and up we use ldap.filter.escape_filter_chars to properly escape these prior to running the LDAP search. Applications using pyramid_ldap have always been responsible for making sure the login value fits the ldap.login_filter_tpl setting in their application. However, if you relied on ldap.FILTER_ERROR to catch bad username formats (such as CORP\username, where the unescaped \ is disallowed in LDAP searches), note that now authenticate will return None instead.

  • Use tox for testing against Python 2.7, 3.6, PEP8, coverage and building docs. Setup Travis CI to run tox. Use pylons-sphinx-themes to fix broken Read The Docs builds. See: https://github.com/Pylons/pyramid_ldap/pull/22

0.2

0.1

  • Initial version

Release files for pyramid_ldap 0.3.1.post1

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_ldap 0.3.1.post1
File Size Uploaded
pyramid_ldap-0.3.1.post1.tar.gz 23.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyramid_ldap 0.3.1.post1
File Interpreter ABI Platform
pyramid_ldap-0.3.1.post1-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / pyramid_ldap-0.3.1.post1.tar.gz

Download URL pyramid_ldap-0.3.1.post1.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
78b1b3abe466cb5173a6975e8f2ee3b62b32448cd6718a7b752d65f6a799db4c
BLAKE2b-256 checksum
How to use checksums
53dcf8925eb23ded3901b792add45901ca452c480132c8b01fd6896f802e298d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyramid_ldap-0.3.1.post1-py3-none-any.whl

Download URL pyramid_ldap-0.3.1.post1-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf4d82475190b1b6288c2c743ebb197369691dae30296599198714d93445a66e
BLAKE2b-256 checksum
How to use checksums
1eeecc27a7f825e33d8f9bc74b163e59369b53c7a8d5cd2d3e3a6be4160a0e51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1.post1 This release

2 release files

0.3.1

2 release files

0.3

2 release files

0.2

2 release files

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