Modify

Opened 15 years ago

Closed 13 years ago

#5161 closed defect (duplicate)

Account manager password store problem

Reported by: Ariel Balter Owned by: Steffen Hoffmann
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: needinfo user auth Apache
Cc: Trac Release: 0.11

Description

When I navigate to "Administration">"Users", I get "This password store does not support listing users"

My apache2.conf file has:

Alias /trac /trac
<Directory /trac>
  Order Allow,Deny
  Allow From All
  Options ExecCGI
  AddHandler cgi-script .cgi .pl .py
</Directory>

Alias /heartstuff /trac/heartstuff
<Directory /trac/heartstuff>
  Order Allow,Deny
  Allow From All
  Options ExecCGI
  AddHandler cgi-script .cgi .pl .py
</Directory>

<Location /heartstuff>
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend 
  PythonOption TracEnv /trac/heartstuff
  PythonOption TracUriRoot /heartstuff
  AuthType Basic
  AuthName "Trac"
  AuthUserFile /trac/heartstuff/trac.passwd
  Require valid-user
</Location>

My trac.ini has:

[account-manager]
account_changes_notify_addresses = ariel@arielbalter.com, ariel.balter@pnl.gov
force_passwd_change = True
generated_password_length = 8
hash_method = HtDigestHashMethod
notify_actions = []
password_file = <inherited>
password_format = <inherited>
password_store = <inherited>

and:

[components]
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.htfile.abstractpasswordfilestore = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.httpauthstore = enabled
acct_mgr.notification.accountchangelistener = enabled
acct_mgr.notification.accountchangenotificationadminpanel = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.svnserve.svnservepasswordstore = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.emailverificationmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = enabled

Attachments (0)

Change History (4)

comment:1 Changed 15 years ago by anonymous

i was getting the same error - but after making following changes, it went away. See if it helps you too.

[components]
acct_mgr.htfile.HtPasswdStore = enabled

[account-manager]
password_format = htpasswd
password_file = <path/to/trac.htpasswd file - must be writeable by apache process uid>

comment:2 Changed 14 years ago by Steffen Hoffmann

Keywords: needinfo user auth added; Account Manager Users Authentication removed
Owner: changed from John Hampton to Steffen Hoffmann

Was this already solved, as last comment suggests?

If not, would you check again with Trac log level set to DEBUG, please. I guess you'll see something like

acct_mgr: get_users() -- Can\'t locate <filename>

in your log file.

If you'll provide no more information here, I may take this as a sign for no more interest and dump it.

comment:3 Changed 14 years ago by Steffen Hoffmann

#4755 seems somewhat related to this ticket.

comment:4 Changed 13 years ago by Steffen Hoffmann

Resolution: duplicate
Status: newclosed

Plenty of time without any feedback from OP, so it's impossible to treat it separately.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.