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
File details
Details for the file kinto-ldap-0.1.0.tar.gz
.
File metadata
- Download URL: kinto-ldap-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d549726ad0e4da9a5dd544d80eef6d733dbefa600077d52cf4006e7df8077e8d |
|
MD5 | 5ff517272c37d9921287449c67f87ceb |
|
BLAKE2b-256 | 532aa9e219144697e884198f0840131eeeb8b6059a15aac8ed7811185737aa7a |
File details
Details for the file kinto_ldap-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: kinto_ldap-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9851590143ad33d784b8636e5ade48257421d11e9643a8391c81a6f25a6d68 |
|
MD5 | 2c9c7dae274f75159d7998aa285c287f |
|
BLAKE2b-256 | 23652c53239449cc2c378529e7bac0c8023322bd27ebb7df8b2fea3be9058ba8 |