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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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

Hashes for kinto-ldap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d549726ad0e4da9a5dd544d80eef6d733dbefa600077d52cf4006e7df8077e8d
MD5 5ff517272c37d9921287449c67f87ceb
BLAKE2b-256 532aa9e219144697e884198f0840131eeeb8b6059a15aac8ed7811185737aa7a

See more details on using hashes here.

File details

Details for the file kinto_ldap-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for kinto_ldap-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cc9851590143ad33d784b8636e5ade48257421d11e9643a8391c81a6f25a6d68
MD5 2c9c7dae274f75159d7998aa285c287f
BLAKE2b-256 23652c53239449cc2c378529e7bac0c8023322bd27ebb7df8b2fea3be9058ba8

See more details on using hashes here.

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