Modify

Opened 11 years ago

Closed 11 years ago

#747 closed defect (worksforme)

Can't login. Problem with assword_format variable

Reported by: benoitc@… Owned by: Alec Thomas
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 11 years ago by Noah Kantrowitz

Component: TracHacksAccountManagerPlugin
Priority: highnormal
Resolution: worksforme
Severity: blockernormal
Status: newclosed

You need this:

acct_mgr.* = enabled

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
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.