wiki:LDAPAcctMngrPlugin

Version 5 (modified by c0redumb, 5 years ago) (diff)

--

A LDAP Authentication Plugin for Account Manager

Description

This is a LDAP authentication plugin for Trac account manager. 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.

Bugs/Feature Requests

Existing bugs and feature requests for LDAPAcctMngrPlugin are here.

If you have any issues, create a new ticket.

defect

1 / 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 - Config 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 the server allow anonymous binding.
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 for most of the 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 setup 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

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.

14713 by c0redumb on 2015-06-20 00:42:18
Tag the v0.9 release
(more)

Author/Contributors

Author: c0redumb
Maintainer: c0redumb
Contributors:

Attachments (3)

Download all attachments as: .zip