Contents
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.
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".
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.
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
Attachments (3)
-
enable.png (34.9 KB) - added by 9 years ago.
Screen Shoot (Enable)
-
config.png (46.5 KB) - added by 9 years ago.
Screen Shot (Config)
-
users.png (34.9 KB) - added by 9 years ago.
Screen Shot (Users)
Download all attachments as: .zip