wiki:TracLdapAuthPlugin

Version 11 (modified by figaro, 5 years ago) (diff)

Adopted the instructions in LDAPAuthPlugin

Port of TracLDAPAuth

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin is a password store for the AccountManagerPlugin that provides authentication and group membership from an LDAP service. The code is based on pypi:TracLDAPAuth.

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

Bugs/Feature Requests

Does not support listing users, changing passwords, or anything other than authenticating.

Existing bugs and feature requests for TracLdapAuthPlugin are here.

If you have any issues, create a new ticket.

defect

5 / 6

task

2 / 2

Download

Download the zipped source of the stable branch from here.

Source

You can check out TracLdapAuthPlugin from here using Subversion, or browse the source with Trac.

Installation

Configuration

host_url

Server URL to use for LDAP authentication:

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

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

Recent Changes

16569 by rjollos on 2017-05-05 16:00:40
TracLDAPAuth 1.2.2: Fix login failures with non-ascii characters in username

Patch by mstolle.

Fixes #11531.

16282 by rjollos on 2017-03-04 03:49:00
Use HTTPS in url
13330 by papagr on 2013-07-07 14:21:49
stable branch for Trac 1.0.x
(more)

Author/Contributors

Author: coderanger
Maintainer: none (needsadoption)
Contributors: k0s