Changes between Version 11 and Version 12 of LdapPlugin


Ignore:
Timestamp:
May 30, 2006, 11:04:39 AM (18 years ago)
Author:
kaj@…
Comment:

Update for Apache 2.2

Legend:

Unmodified
Added
Removed
Modified
  • LdapPlugin

    v11 v12  
    7272</Location>
    7373}}}
     74
     75=== Apache 2.2 ===
     76
     77Since the mod_auth_ldap module has been superseded by the mod_authnz_ldap module for Apache 2.2, the configuration also needs a little tweaking. The above example would now look like:
     78
     79{{{
     80<Location /trac/project>
     81   PythonOption TracEnv "/local/var/trac/project"
     82   PythonOption TracUriRoot "/trac/project"
     83   AuthType Basic
     84   AuthName "Project"
     85   AuthBasicProvider ldap
     86   Order Allow,Deny
     87   Allow from All
     88   AuthLDAPURL "ldap://localhost:389/dc=example,dc=org?uid"
     89   AuthzLDAPAuthoritative on
     90   Require group cn=tracusers,dc=example,dc=org
     91</Location>
     92}}}
     93
     94Note that if you just use "Require valid-user" (to allow everybody with a valid LDAP login to access trac) you must set "AuthzLDAPAuthoritative off" according to the Apache documentation.
     95
    7496
    7597== Configuration ==