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 | RSS feed
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 TracLDAPAuth-1.2.1.tar.gz
.
File metadata
- Download URL: TracLDAPAuth-1.2.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce8271f366c4be463e2a126af1e59c370aa7ee94ba242ae374c728a221f31fe4 |
|
MD5 | 348ac87474ee7a252b062501871d2692 |
|
BLAKE2b-256 | d5534eff9c0cde58a775f084a2b9e7063ce86a8f4f026ea589ea72c340502bf4 |
File details
Details for the file TracLDAPAuth-1.2.1-py2-none-any.whl
.
File metadata
- Download URL: TracLDAPAuth-1.2.1-py2-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 472c0b6ecae65fffc8b420de16aa66a74d7fa5dacada3beb8ad87323f20a0fdc |
|
MD5 | c07b507262f5543f141f52924ac9d171 |
|
BLAKE2b-256 | 63237575375528825f85328d51656bb4809506360debb3992001e5ca4e9ed7b7 |