wiki:LdapAuthnzPlugin

Version 5 (modified by Larry Ruiz, 14 years ago) (diff)

--

LDAPAuthNZPlugin

Description

An AccountManager LDAP PasswordStore implementation.

It doesn't support password change, plz see ticket #1602

Bugs/Feature Requests

Existing bugs and feature requests for LdapAuthnzPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:ldapauthnzplugin here].

Source

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

Installation

easy_install http://trac-hacks.org/svn/ldapauthnzplugin/trunk

and then modified your trac.ini with the ldap settings

Example

[components]
trac.web.auth.LoginModule = disabled
acct_mgr.admin.AccountManagerAdminPage = enabled
acct_mgr.api.AccountManager = enabled
acct_mgr.web_ui.AccountModule = enabled
acct_mgr.web_ui.LoginModule = enabled

tautua.trac_plugins.* = enabled

[account-manager]
#set the passwordstore to ldap
password_store = LDAPAuthNStore

[ldap]
#use ldaps:// for tls
server = ldap://myldaphost:389
root_dn = o=mycompany
user_searchbase = ou=people
user_searchfilter = uid=%s
anonymous_bind = false

#required if anonymous_bind is false
bind_dn = uid=admin,ou=system
bind_passwd = pass

Recent Changes

11353 by rjollos on 2012-03-02 08:55:14
Fixes #9864, Refs #9172: Fixed typo in start_tls_s method call.
7818 by lruiz on 2010-04-06 16:52:07
compilation error, yield in try block
7813 by lruiz on 2010-04-05 17:39:20
code cleanup
(more)

Author/Contributors

Author: lruiz
Maintainer: lruiz
Contributors: