Apache, Trac and LDAP - how to glue them all together?
Solution 1:
If you need to test your "Apache+LDAP+Trac" binding, you don't need to run standalone bin/tracd
.
First try to use Apache LDAP authentification with Trac without LdapPlugin(it just adds ability to manage trac permissions for LDAP groups). You should configure authentifacation on /trac/login
location, and Trac will automatically get authentificated user name. Look here: TracModWSGI - ConfiguringAuthentication This works fine in my setup(Debian Squeeze, Trac 0.12). So just remove all your modifications from from trac.ini
.
When you will get working authentification, you may start configuring LdapPlugin.
WSGI is IMHO best way to run python application on Apache, it's fast and simple.