Hi,
I currently have multiple projects using multiple Trac instances -- all through LDAP. I'm basically doing a blanket auth at the top-level:


<Location /projects>
  SetHandler mod_python
#  PythonHandler trac.ModPythonHandler
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir "/data/tracroot"
  AuthType Basic
#  AuthName "testproject"
  AuthName "Trac Project Sites"
  AuthLDAPURL ldap://localhost/dc=virtc,dc=com
  Require valid-user
</Location>


Now, one of the projects has a requirements to let a couple of unauthenticated people create tickets and view their Trac site.

Any ideas as to how I could manage that? The current LDAP database that it authenticates against contains only employees. I could go to using auth on a per trac site basis like:

<Location "/projects/testrepos/login">
  AuthType Basic
  AuthName "testproject"
  AuthLDAPURL ldap://localhost/dc=virtc,dc=com
  Require valid-user
</Location>


<Location "/projects/testproject2/login">
  AuthType Basic
  AuthName "testproject2"
  AuthLDAPURL ldap://localhost/dc=virtc,dc=com
  Require valid-user
</Location>


but that would be a pain since I have over 2 dozen Trac projects and getting more everyday.

Thanks
Viren
--
Viren R Shah
Sr. Technical Advisor
Virtual Technology Corporation
[EMAIL PROTECTED]
P: 703-333-6246
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to