wiki:LDAPAuthPlugin

TracLDAPAuth Installation & Configuration

see also TracLdapAuthPlugin

Installation

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 TracIni 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

A Better Ldap Solution

This plugin doesn't support user listing, changing password, registration or non-simple binding.

LDAPAuthStore offers a better solution linking LdapPlugin to AccountManager. Provide user listing, password changing, MD5/CRYPT/SASL binding/authentication.

Author/Contributors

  • LDAPAuthPlugin Code Author: Noah Kantrowitz <coderanger at yahoo com>
  • This Page Author: jholg
  • This Page Contributor: Yu Huang (crocea)
Last modified 16 months ago Last modified on Jul 7, 2013 4:37:17 PM