Modify

Opened 6 years ago

Closed 4 years ago

#5161 closed defect (duplicate)

Account manager password store problem

Reported by: abalter Owned by: hasienda
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 6 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 4 years ago by hasienda

  • Keywords needinfo user auth added; Account Manager Users Authentication removed
  • Owner changed from pacopablo to hasienda

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 4 years ago by hasienda

#4755 seems somewhat related to this ticket.

comment:4 Changed 4 years ago by hasienda

  • Resolution set to duplicate
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain hasienda.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.