On Tue, Jan 13, 2009 at 8:48 AM, Olemis Lang <ole...@gmail.com> wrote:
> On Tue, Jan 13, 2009 at 1:02 AM, Bin <sunbi...@gmail.com> wrote:
>>
>
> ... I'll post the httpd.conf snippet ASAIC ...

{{{
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so

LoadModule ldap_module modules/mod_ldap.so


<Location /trac>
   Order deny,allow
   Allow from all
   AuthBasicProvider ldap
   AuthzLDAPAuthoritative Off
   AuthLDAPURL 
"ldap://<ldap_server>:389/<base_dn>?sAMAccountName?sub?(objectClass=user)"

   AuthLDAPBindDN "user@<domain>"
   AuthLDAPBindPassword <letmeinplease ... XD>
   AuthType Basic
   AuthName "<realm>"
   require valid-user
   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnvParentDir /path/to/multienv/dir
</Location>
}}}

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to