简体   繁体   中英

trac on windows - authentication

I wish to use trac (for defect tracking) on windows - as it has nice integration with svn (also on windows).

I got it installed (winpy version) using python 2.7 and was able to get the standalone server up and running - however I have no idea how to configure the logins? As per instructions I created a passwords file with md5 encrypted passwords and then referenced this when I re-ran my standalone server.

Any ideas on how to get this running with authentication?

Thanks

One of the easiest ways to manage accounts is by using the AccountManager plugin . On a fresh Trac install, here's how to set it up:

  1. Run the trac-admin /path/to/projenv permission add anonymous TRAC_ADMIN command to give yourself admin privileges
  2. Install the plugin
  3. Create a new admin account graphically
  4. Give the admin account TRAC_ADMIN permissions
  5. Log in using the admin account
  6. Revoke the TRAC_ADMIN permission from the anonymous account
  7. Create user accounts, as needed

The website for the plugin lists additional information and examples regarding how to install and configure it.

In case of Trac based on Apache webserver: Another possibility is Apache's SSPI authentication module. Trac reuses all users from the Windows domain then. It's configured in http.conf for Trac's .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM