#3433: auth problems
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: jonas
Type: defect | Status: closed
Priority: normal | Milestone:
Component: general | Version: 0.9.6
Severity: normal | Resolution: worksforme
Keywords: |
-----------------------+----------------------------------------------------
Changes (by eblot):
* resolution: => worksforme
* status: new => closed
Old description:
> i'm runnning
> tracd --port 8000 -d --auth test_dev,/path/to/pas_file,linux.xxxxx.ro
> /path/project
>
> when i try to login i encounter this error:
>
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/trac/web/standalone.py", line
> 303, in _do_trac_req
> dispatch_request(path_info, req, env)
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in
> dispatch_request
> dispatcher.dispatch(req)
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in
> dispatch
> resp = chosen_handler.process_request(req)
> File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 82, in
> process_request
> self._do_login(req)
> File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 103, in
> _do_login
> assert req.remote_user, 'Authentication information not available.'
> AssertionError: Authentication information not available.
New description:
i'm runnning
tracd --port 8000 -d --auth test_dev,/path/to/pas_file,linux.xxxxx.ro
/path/project
when i try to login i encounter this error:
{{{
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/standalone.py", line
303, in _do_trac_req
dispatch_request(path_info, req, env)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 82, in
process_request
self._do_login(req)
File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 103, in
_do_login
assert req.remote_user, 'Authentication information not available.'
AssertionError: Authentication information not available.
}}}
Comment:
This question has been answered on the ML several times, please search the
ML archive.
The "project name" in the first option of --auth should be `project` (from
`/path/project`), not `test_env`
--
Ticket URL: <http://trac.edgewall.org/ticket/3433>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets