Skip to main content

An AccountManager password store that uses python-ldap to check against an LDAP server.

Project description

TracLDAPAuth

An AccountManager password store that uses python-ldap to check against an LDAP server.

Configuration Options

host_url
Server URL to use for LDAP authentication. e.g.:
ldap://ldap.example.com ldaps://ldap.example.com
base_dn
The user base DN when searching for users
bind_user
LDAP user for searching
bind_password
LDAP user password
search_scope
The ldap search scope: base, onelevel or subtree
search_filter
The ldap search filter template where %s is replaced with the username

Example configuration

[ldap] host_url = ldap://ldap.example.com base_dn = OU=Users,DC=example,DC=com bind_user = ldap@example.com bind_password = your_secret_password_here search_scope = subtree search_filter = (&(objectClass=user)(sAMAccountName=%s))

[account-manager] password_store = LDAPStore

[components] ldapauth.* = enabled

Project details


Release history Release notifications

This version
History Node

1.2.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
TracLDAPAuth-1.2.1-py2-none-any.whl (4.3 kB) Copy SHA256 hash SHA256 Wheel py2 Feb 23, 2017
TracLDAPAuth-1.2.1.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Feb 23, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page