configure trac on apache 2.2 with ldap authentication

# vi /etc/http/conf.d/trac.conf

<IfModule mod_python.c>
<Location /trac>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/trac
PythonOption TracUriRoot /trac
</Location>
<LocationMatch “/trac/[^/]+/login”>
AuthName “Trac”
AuthType Basic
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPUrl ldap://[SERVER]:389/OU=People,DC=siarcon,DC=com,DC=br?uid
require valid-user
</LocationMatch>
</IfModule>