wiki:LDAPAcctMngrPlugin

LDAP Authentication for Account Manager

Description

This is a LDAP authentication plugin for Trac AccountManagerPlugin. It is well maintained, well-tested, and up-to-date.

It is intuitive to install and use with sensible defaults for quick setting up. At the same time, it also has a flexible configuration to deal with complex setup one may encounter. See below for sample setup and configuration.

Bugs/Feature Requests

Existing bugs and feature requests for LDAPAcctMngrPlugin are here.

If you have any issues, create a new ticket.

defect

2 / 2

enhancement

0 / 1

task

1 / 1

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

Step 1 - Enable plugin

Please remember to enable Account Manager as well as this plugin.

Screen Shoot (Enable)

Step 2 - Configure plugin

There are only a few fields that need to be configured:

bind_server
The LDAP server to connect to. The format is ldap[s]://host[:port].
bind_anonymous
Whether anonymous binding to the server is allowed.
bind_dn
If anonymous binding is not allowed, please specify a bind_dn.
bind_passwd
If anonymous binding is not allowed, please specify a binding password.
user_searchbase
The base of the tree on which the user is searched. A sub-tree search is performed.
user_searchfilter
The filter to find users in the tree. The default is "objectClass=inetOrgPerson", which should work in most cases.
user_matchfilter
The field of the record to match username to when authenticating. This is almost always "uid=%s".

Screen Shot (Config)

Step 3 - List users

Once it is set up correctly, all the users will be automatically available by selecting Accounts/Users on the left panel. There is no need to hand create the user list, which is the beauty of the LDAP authentication plugin.

Screen Shot (Users)

Recent Changes

18603 by jun66j5 on 2023-12-15 15:12:17
Add option for user field and make compatible with Python 3 (closes #13487)
17534 by rjollos on 2019-09-29 08:48:29
Fix incorrect variable name in r17456

Refs #13490.

17456 by rjollos on 2019-08-19 03:41:42
Fix LDAPStore has no attribute 'has_user'

Patch by Jun Omae.

Fixes #13490.

(more)

Author/Contributors

Author: c0redumb
Maintainer: c0redumb
Contributors:

Last modified 6 years ago Last modified on May 2, 2018, 7:14:42 PM

Attachments (3)

Download all attachments as: .zip