Contents

HtDigestStore

Package

acct_mgr.htfile

Used to store passwords in the htdigest file format.

Warning: This password method may not work with ​mod_python due to a bug using Python’s md5 module under mod_python ("it has been reported that mod_python has trouble returning good MD5 strings. It has been speculated that this is because many apache mods are using the same md5 source (php and so forth), but this is not confirmed"). If you experience problems try ​FastCGI, ​mod_wsgi, ​tracd, or use md5crypt patch (#8386).

To use this component to manage your password file you need to enable it as described above and add some additional configuration to ​trac.ini:

[components]
; be sure to enable the component
acct_mgr.htfile.HtDigestStore = enabled
[account-manager]
; configure the plugin to store passwords in the htdigest format:
password_store = HtDigestStore
; with Trac < 0.10 use this instead:
password_format = htdigest
; the file where user accounts are stored
; the webserver will need write permissions to this file
; and its parent folder
password_file = /var/trac/trac.htdigest
; the name of the authentication “realm”
; it can be any text to identify your site or project
htdigest_realm = TracRealm

HtPasswdStore

Package

acct_mgr.htfile

Used to store passwords in the htpasswd file format.

Warning: This password method may not work with ​mod_python due to a bug using Python’s md5 module under mod_python. If you experience problems try ​FastCGI, ​mod_wsgi, ​tracd, or use md5crypt patch (#8386).

To use this component to manage your password file you need to enable it as described above and add some additional configuration to ​trac.ini:

SessionStore

Package

acct_mgr.db

Stores password information in the trac database. This may give better behaviour if you have large numbers of users and are finding errors due to write contention on the password file. You must enable one or other of the hash method components. HtDigestHashMethod is the default.