Opened 8 years ago
Last modified 7 years ago
#12907 closed enhancement
Multiple independent projects with separate htpasswd files not working for me — at Initial Version
Reported by: | BillChappell | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | major | Keywords: | multiple independent projects |
Cc: | Trac Release: | 1.0 |
Description
I just installed trac for the first time, so I may well have missed something in my configuration, but here is where I am:
Ubuntu 16.04 LTS, apache2 installed using apt-get, trac installed
- sudo –H pip install - -upgrade pip
- sudo –H pip install - -upgrade Genshi
- sudo –H pip install - -upgrade setuptools
- sudo –H pip install trac
used mod_python
Installed AccountManager using HtPasswd as per here https://pypi.python.org/pypi/TracAccountManager
I have 3 independent projects each with own htpasswd file
My experience is that I can only enable Account Manager for one project at a time, including that other projects cannot even have AccountManager egg in /var/trac/<project>/plugins and the egg-cache as well as removing Account Manager entries from trac.ini. Otherwise, the enabled/disabled state of trac.web.auth.loginmodule carries from one project to the other and I lose the ability to login to either the project with Account Manager or the other 2.
trac.ini for project with Account Manager
[account-manager]
account_changes_notify_addresses = chappewr@…
allow_delete_account = false
htpasswd_file = /var/trac/TEST/test.htpasswd
htpasswd_hash_type = md5
notify_actions = new,change,delete
password_store = HtPasswdStore
[components]
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.web_ui.accountmodule = enabled
trac.web.auth.loginmodule = disabled
I copied and pasted htfile as htpasswdstore from trac install instructions, but it appears as htdigeststore (and works).
trac.ini for other projects only has
[components]
trac.web.auth.loginmodule = enabled
Please tell me what I am doing wrong or if what I am trying to do is a new feature request. Thanks.