hi all,

I used the instructions from http://trac.edgewall.org/wiki/TracModPython
and well I cant get Active Directory authentcation to work...

in /etc/apache2/sites-available/default :

<Location /trac>
   SetHandler mod_python
   PythonOption TracEnvParentDir "/var/www/trac/"
   PythonHandler trac.web.modpython_frontend
   AuthType Basic
   AuthBasicProvider ldap
   Order Allow,Deny
   Allow from All
   AuthName "Trac"
   AuthLDAPURL "ldap://192.168.0.1:389/dc=mydomain-bc,dc=local?
sAMAccountName?sub?(objectClass=user)"
   AuthLDAPBindDN [EMAIL PROTECTED]
   AuthLDAPBindPassword test123
   AuthzLDAPAuthoritative off
   Require ldap-group OU=Users,OU=MyBusiness,DC=mydomain,DC=local
</Location>

I do get a pop-up asking for username / password.
when I enter a username like
login: test
password: test123

Then I do get this error in apache error.log:

access to /trac failed, reason: require directives present and no
Authoritative handler.

when I enter
login: test
password: notthecorrectpassword
Then Apache error.log says "Password Mismatch" - so apparently it did
communicate with the Active Directory

when I enter
login: thisuserdoesnotexist
password: whatever
Then Apache error.log says "user thisuserdoesnotexistnot found: /trac"

When I remove all authentication stuff I can see the Trac projects...
that part is setup correctly, just the authentication goes wrong...

any help?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to