LDAPAuthNZPlugin

Description

An AccountManager LDAP IPasswordStore 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 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 03/02/12 09:55:14

Fixes #9864, Refs #9172: Fixed typo in start_tls_s method call.

[7818] by lruiz on 04/06/10 18:52:07

compilation error, yield in try block

[7813] by lruiz on 04/05/10 19:39:20

code cleanup

[7812] by lruiz on 04/05/10 19:14:28

nested "try" to fix compilation errors on python2.4

Author/Contributors

Author: lruiz
Maintainer: lruiz
Contributors: