#533 closed defect (worksforme)
Upon login, Authentication information not available
Reported by: | ch3nyong | Owned by: | Matt Good |
---|---|---|---|
Priority: | high | Component: | AccountManagerPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I had been suffering from following error upon login since few days ago. The database file is fine, and the password file is good. Can anyone enlighten me where should I probably be heading towards to solve this problem? I need urgent help, thanks a million!
Python Traceback Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 315, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 200, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 95, in process_request self._do_login(req) File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 116, in _do_login assert req.remote_user, 'Authentication information not available.' AssertionError: Authentication information not available.
Attachments (0)
Change History (6)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Trac Release: | 0.9 → 0.10 |
It seemed to be that I was running it on tracd standalone and it differs from running on Apache (where it would rely on Apache's password authentication method)..
Another mistake, I was runnin trac 0.10dev instead of 0.9, and it happened that 0.10 doesnt work well with the TracAccountManager plugin. So, I finally opted for dbauth plugin, which is compatible with trac 0.10, uses sqlite, and it works so magically.
Thanks!
comment:3 Changed 18 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The fixed resolution should only be used for tickets requiring code changes.
comment:4 Changed 18 years ago by
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
I guess if you're no longer using the plugin there's no way to debug this so I'll go ahead and close the ticket. The AccountManagerPlugin definitely is supported on Trac 0.10, and I've tested it on both tracd and Apache without problems.
comment:5 follow-up: 6 Changed 18 years ago by
I was also receiving the same error until I added the following to the components section of my trac.ini:
[components] trac.web.auth.LoginModule = disabled ...
comment:6 Changed 18 years ago by
Replying to mhenry:
I was also receiving the same error until I added the following to the components section of my trac.ini:
[components] trac.web.auth.LoginModule = disabled ...
Yes, you need to disable the built-in LoginModule in order to use the AccountManager version. This is already documented: AccountManagerPlugin#LoginModule
For your information, it was run on tracd and nothing's wrong with apache configuration. Thank you!