ZUOKUN’s Techie Memo

java/linux technology

Config Trac + SVN + Apache with LDAP authentication

leave a comment »

Python 2.5 + Trac 0.10 + XAMPP (Apache) + OpenDS 1.0.0 + Apache Directory Studio + Subversion

TRAC plugins:
[components]
burndown.burndown.burndowncomponent = enabled
scrumplugin.scrum.scrumcomponent = disabled
timingandestimationplugin.* = enabled
trac.wiki.web_ui.wikimodule = disabled
tractags.* = enabled
webadmin.* = enabled


Apache Configuration

<Location /svn>
DAV svn
# any "/svn/foo" URL will map to a repository /usr/local/svn/foo
SVNParentPath c:/svndata
AuthType Basic
AuthBasicProvider ldap
AuthName "Authorization required"
AuthzLDAPAuthoritative on
AuthLDAPBindDN "cn=root"
AuthLDAPBindPassword root
AuthLDAPURL ldap://127.0.0.1:1389/ou=People,dc=make,dc=com?uid?sub?(objectClass=*)
require valid-user
</Location>
<Location /trac>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv c:\tracdata
PythonOption TracUriRoot /trac
</Location>
<Location /trac/login>
AuthType Basic
AuthBasicProvider ldap
AuthName "Authorization required"
AuthzLDAPAuthoritative on
AuthLDAPBindDN "cn=root"
AuthLDAPBindPassword root
AuthLDAPURL ldap://127.0.0.1:1389/ou=People,dc=make,dc=com?uid?sub?(objectClass=*)
require valid-user
</Location>

Advertisement

Written by zuokun

June 18, 2008 at 8:28 am

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.