Modify

Opened 8 years ago

Closed 8 years ago

#747 closed defect (worksforme)

Can't login. Problem with assword_format variable

Reported by: benoitc@… Owned by: athomas
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

On trac 0.10 I have this error :

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 356, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 189, in dispatch
    req.authname = self.authenticate(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 145, in authenticate
    authname = authenticator.authenticate(req)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 172, in wrap
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 181, in authenticate
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 205, in _remote_user
  File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 94, in check_password
  File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 105, in password_store
TracError: No password store found.  Please configure "account-manager.password_format" in trac.ini.

My conf in trac.ini :

[components]
webadmin.* = enabled
acct_mgr.api.AccountManager = enabled
acct_mgr.admin = enabled
trac.web.auth.LoginModule = disabled
acct_mgr.web_ui.LoginModule = enabled

[account-manager]
password_store = HtPasswdStore
password_file = /home/trac/archlinuxfr/htpasswd

any idee what could be the poblem. I tried also to replace password_store by password_format or use password_format=htpasswd. But same error :\

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by coderanger

  • Component changed from TracHacks to AccountManagerPlugin
  • Priority changed from high to normal
  • Resolution set to worksforme
  • Severity changed from blocker to normal
  • Status changed from new to closed

You need this:

acct_mgr.* = enabled

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
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.