Have you tried without "AuthzLDAPAuthoritative off?" Also, try
"Require
valid-user" first to make sure authentication works well, before
enforcing group membership with "Require ldap-group."
HTH,

Sergey.

On Jun 20, 3:09 pm, tracman <[EMAIL PROTECTED]> wrote:
> hi all,
>
> I used the instructions fromhttp://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.


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