Edgewall Software

Changes between Version 90 and Version 91 of TracModPython


Ignore:
Timestamp:
Nov 28, 2006, 2:41:07 PM (17 years ago)
Author:
labeneator
Comment:

Enhancement on authentication

Legend:

Unmodified
Added
Removed
Modified
  • TracModPython

    v90 v91  
    4242  AuthUserFile /var/trac/myproject/.htpasswd
    4343  Require valid-user
     44</Location>
     45}}}
     46
     47Configuration for mod_ldap authentication in Apache is a bit tricky (httpd 2.2.x and OpenLDAP: slapd 2.3.19)
     48
     49{{{
     50<Location /trac/>
     51  SetHandler mod_python
     52  PythonHandler trac.web.modpython_frontend
     53  PythonOption TracEnv /home/trac/
     54  PythonOption TracUriRoot /trac/
     55  Order deny,allow
     56  Deny from all
     57  Allow from 192.168.11.0/24
     58  AuthType Basic
     59  AuthName "Trac"
     60  AuthBasicProvider "ldap"
     61  AuthLDAPURL "ldap://127.0.0.1/dc=example,dc=co,dc=ke?uid?sub?(objectClass=inetOrgPerson)"
     62  authzldapauthoritative Off
     63  require valid-user
    4464</Location>
    4565}}}
     
    146166If you run trac with mod_python < 3.2 on Windows, uploading attachments will '''not''' work. This problem is resolved in mod_python 3.1.4 or later, so please upgrade mod_python to fix this.
    147167
     168
    148169=== OS X issues ===
    149170