I want to integrate Trac and SVN and Apache and Active Directory. But
I'm really confused how to accomplish this. What should I do to
integrate Active Directory to both SVN and Trac?
What plugins should I install? For example should I install OpenLDAP
tool?
When I run my configuration below and enter my user name and password,
I get an "Invalid Username or Password" error.
Any help will be appreciated...
Thanks in advance.
My Installations are:
Apache 2.2
Trac 0.12 dev
Python 2.6.1
Tortoise SVN 1.6.2
My directory structure is like this:
c:/Repository/trac/MyProject1
c:/Repository/svn/MyProject1
c:/Apache
c:/Python26
My httpd.conf file is:
NameVirtualHost 20.1.1.100
<VirtualHost 20.1.1.100>
<IfModule alias_module>
Alias /trac "/Repository/trac"
ScriptAlias /SpotDataPublisher "/Repository/trac/
SpotDataPublisher/cgi-bin/trac.cgi"
</IfModule>
DocumentRoot "/Repository/trac"
ServerName trac.domainname.com
ServerSignature On
ErrorLog logs/error.log
LogLevel info
TransferLog logs/access.log
<Location /trac/SpotDataPublisher>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonInterpreter main_interpreter
PythonOption TracEnv /Repository/trac/SpotDataPublisher/
PythonOption TracUriRoot /trac/SpotDataPublisher/
#PythonOption PYTHON_EGG_CACHE /Repository/trac/
SpotDataPublisher/egg-cache
Order Allow,Deny
Allow from All
AuthType Basic
AuthName "My Trac Server"
AuthBasicProvider ldap
AuthzLDAPAuthoritative Off
AuthLDAPBindDN [email protected]
AuthLDAPBindPassword pwd
AuthLDAPURL
ldap://domainname.com:3268/OU=IzmUsers,DC=domanname,DC=com?sAMAccountName
#require ldap-group OU=IzmUsers,DC=domainname,DC=com
require valid-user
</Location>
<Directory /Repository>
Options Indexes FollowSymLinks MultiViews
Order Allow,Deny
Allow from All
</Directory>
</VirtualHost>
My trac.ini file is:
.......
[components]
trac.web.auth.loginmodule = disabled
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.web_ui.loginmodule = enabled
ldapauth.store.LDAPStore = enabled
[account-manager]
password_store = LdapStore
....
[ldap]
server = domainname.com
port = 3268
basedn = dc=domainname,dc=com
user_rdn = ou=IzmUsers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---