Skip to main content

LDAP support for Kinto

Project description

kinto-ldap

travis Coverage

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

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

kinto-ldap-0.1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

kinto_ldap-0.1.0-py2.py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page