Version 3 (modified by crocea, 6 years ago) (diff)

1.0 in the URL is removed.

I'm not the developer or maintainer of the LDAPAuthPlugin, and this is not a real reference; just some quick notes on using LDAPAuthPlugin with a standalone tracd:


I'm using tracd to serve multiple projects, and have a global trac.ini:

bind_dn =<bind DN>
;e.g. bind_dn = uid=%s,ou=people,dc=foo,dc=bar,dc=moo

server = <ldap server address>

trac.web.auth.LoginModule = disabled
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.web_ui.LoginModule = enabled
; be sure to enable the component = enabled
; configure the plugin to store passwords in the htdigest format:
password_store = LDAPStore

This global trac.ini then gets inherited by each trac projects' trac.ini:

# -*- coding: utf-8 -*-
file = /my/path/to/trac_projects/trac.ini


Start tracd like this:

tracd -p 80 -e /my/path/to/trac_projects