LDAP support for Kinto
Project description
kinto-ldap
Validate Basic Auth provided user login and password with an LDAP server.
Dependencies
Before installing you will need the following system dependencies:
sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev
Installation
Install the Python package:
pip install kinto-ldap
Include the package in the project configuration:
kinto.includes = kinto_ldap
And configure authentication policy using pyramid_multiauth formalism:
multiauth.policies = ldap multiauth.policy.ldap.use = kinto_ldap.authentication.LDAPBasicAuthAuthenticationPolicy
By default, it will rely on the cache configured in Kinto.
Configuration
Fill those settings with the values obtained during the application registration:
# ldap.cache_ttl_seconds = 30 # ldap.endpoint = ldap://ldap.prod.mozaws.net # ldap.fqn = "uid={uid},ou=users,dc=mozilla"
If necessary, override default values for authentication policy:
# multiauth.policy.ldap.realm = Realm
CHANGELOG
This document describes changes between each past release.
0.1.0 (2016-06-27)
Basic Auth Authentication for LDAP.
Contributors
Rémy Hubscher <rhubscher@mozilla.com>
Tarek Ziade <tarek@mozilla.com>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for kinto_ldap-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9851590143ad33d784b8636e5ade48257421d11e9643a8391c81a6f25a6d68 |
|
MD5 | 2c9c7dae274f75159d7998aa285c287f |
|
BLAKE2b-256 | 23652c53239449cc2c378529e7bac0c8023322bd27ebb7df8b2fea3be9058ba8 |