#2740: Authentication not enabled, even if --auth option is set
----------------------------------------------+-----------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: closed
Priority: high | Milestone:
Component: tracd | Version: 0.9.3
Severity: major | Resolution: worksforme
Keywords: |
----------------------------------------------+-----------------------------
Comment (by kulmacet):
I was having this very issue in the standalone mode but was able to
resolve. Here are my steps, hope this helps:
The project was created using-> trac-admin /path/to/trac_project_env
IniteNV
The site would run and with out authentication using-> tracd -d --port
8000 /path/to/projectenv
When the authentication portion was added using htdigest-> tracd --port
8000 --auth IniteNV,/trac/user/users.htdigest,trac /path/to/projectenv
(The guide is a bit unclear here)
It would seem to run but when you clicked the login would generate the
error-> TracError: Authentication not enabled. Please use the tracd --auth
option.
As you can see the --auth switch is enabled.
What made this work for me is the changes to the project name being passed
from IniteNV to initenv in other words->
tracd --port 8000 --auth '''IniteNV''',/trac/user/users.htdigest,trac
/path/to/projectenv (Failed)
tracd --port 8000 --auth '''initenv''',/trac/user/users.htdigest,trac
/path/to/projectenv (Worked)
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2740>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets