Port of TracLDAPAuth
This plugin is a password store for the AccountManagerPlugin that provides authentication and group membership from an LDAP service. It does not support listing users, changing passwords, or anything other than authenticating.
If you have any issues, create a new ticket.
Download the zipped source of the stable branch from here.
There is also a version on PyPi.
Server URL to use for LDAP authentication:ldap://ldap.example.com ldaps://ldap.example.com
The user base DN when searching for users.
LDAP user for searching.
LDAP user password.
The LDAP search scope: base, onelevel or subtree.
The ldap search filter template where %s is replaced with the username.
This is a sample trac.ini configuration for this plugin:
[ldap] host_url = ldap://ldap.example.com base_dn = OU=Users,DC=example,DC=com bind_user = firstname.lastname@example.org bind_password = your_secret_password_here search_scope = subtree search_filter = (&(objectClass=user)(sAMAccountName=%s)) [account-manager] password_store = LDAPStore [components] ldapauth.* = enabled