Edgewall Software

Changes between Version 7 and Version 8 of TracOnWindows/Advanced


Ignore:
Timestamp:
Nov 3, 2007, 5:53:13 AM (17 years ago)
Author:
etienne.pub@…
Comment:

Added information on how to authenticate users in a Windows environment

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindows/Advanced

    v7 v8  
    4949
    5050It is also possible to install [wiki:"TracOnWindowsIis6" Trac with IIS 6], though your mileage may vary.
     51
     52== Authenticating Trac users against MS Windows domain controller ==
     53
     54Running Trac in Apache, you can let your users login using their existing Windows username/password using `mod_sspi`. (If you use Subversion as a repository and access it through Apache, you can also do the same with Subversion). Download this module [http://sourceforge.net/projects/mod-auth-sspi here], place it in the Apache modules directory, and add the following line to your `httpd.conf`, with all the `LoadModule` instructions:
     55{{{
     56LoadModule sspi_auth_module modules/mod_auth_sspi.so
     57}}}
     58
     59Then add the following to the end of `http.conf`, modified according to your settings:
     60
     61{{{
     62<LocationMatch /MyTracRootURL/[^/]+/login>
     63        AuthType SSPI
     64        AuthName "Trac project management website @ MyLocalMachine"
     65        SSPIAuth On
     66        SSPIAuthoritative On
     67        SSPIDomain MyLocalDomain
     68        SSPIOfferBasic On
     69        Require valid-user
     70</LocationMatch>
     71}}}
     72
     73Then, if you change permissions in Trac using `trac-admin.exe`, remember to declare the user `bob` as `MyLocalDomain\bob`. (The same remarks applies for Subversion)