#2740: Authentication not enabled, even if --auth option is set
----------------------------------------------+-----------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: high | Milestone:
Component: tracd | Version: 0.9.3
Severity: major | Resolution:
Keywords: |
----------------------------------------------+-----------------------------
Changes (by cboos):
* component: log view => tracd
Old description:
> When I try to access the "Login" option in the Trac main window, tracd
> complains that the "--auth" option is not set, but it is. Why does it
> complain?
> In the browser is get ofcourse only "page cannot be displayed".
>
> I have generated the password file, so that should be OK.
>
> The tracd is started from command-line on a windows 2003 server.
>
> see logs from tracd below:
> -----------------------------------------------------------------
> C:\Program Files\Plone 2\Python\Scripts>python tracd --auth
> Project1,c:\project\
> project1\users.htdigest,trac --port 42000 c:\trac_env
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:43] "GET / HTTP/1.1"
> 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET /trac_env
> HTTP/1.1"
> 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/css/trac.css HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/css/wiki.css HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/js/trac.js HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/css/code.css HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/trac_banner.png HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/topbar_gradient.png HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/trac_logo_mini.png HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/topbar_gradient2.png HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/dots.gif HTTP/1.1" 200 -
> hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
> /trac_env/chrome/co
> mmon/extlink.gif HTTP/1.1" 200 -
> ----------------------------------------
> Exception happened during processing of request from ('192.168.152.237',
> 3249)
> Traceback (most recent call last):
> File "C:\Program Files\Plone 2\Python\lib\SocketServer.py", line 463,
> in proce
> ss_request_thread
> self.finish_request(request, client_address)
> File "C:\Program Files\Plone 2\Python\lib\SocketServer.py", line 254,
> in finis
> h_request
> self.RequestHandlerClass(request, client_address, self)
> File "C:\Program Files\Plone 2\Python\lib\SocketServer.py", line 521,
> in __ini
> t__
> self.handle()
> File "c:\Program Files\Plone 2\Python\lib\BaseHTTPServer.py", line 324,
> in han
> dle
> self.handle_one_request()
> File "c:\Program Files\Plone 2\Python\lib\BaseHTTPServer.py", line 318,
> in han
> dle_one_request
> method()
> File "C:\Program Files\Plone 2\Python\Lib\site-
> packages\trac\web\standalone.py
> ", line 259, in do_GET
> self._do_trac_req()
> File "C:\Program Files\Plone 2\Python\Lib\site-
> packages\trac\web\standalone.py
> ", line 295, in _do_trac_req
> raise util.TracError('Authentication not enabled. '
> TracError: Authentication not enabled. Please use the tracd --auth
> option.
>
> ----------------------------------------
New description:
When I try to access the "Login" option in the Trac main window, tracd
complains that the "--auth" option is not set, but it is. Why does it
complain?
In the browser is get ofcourse only "page cannot be displayed".
I have generated the password file, so that should be OK.
The tracd is started from command-line on a windows 2003 server.
see logs from tracd below:
-----------------------------------------------------------------
{{{
C:\Program Files\Plone 2\Python\Scripts>python tracd --auth
Project1,c:\project\project1\users.htdigest,trac --port 42000 c:\trac_env
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:43] "GET / HTTP/1.1"
200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET /trac_env
HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/css/trac.css HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/css/wiki.css HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/js/trac.js HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/css/code.css HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/trac_banner.png HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/topbar_gradient.png HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/trac_logo_mini.png HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/topbar_gradient2.png HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/dots.gif HTTP/1.1" 200 -
hrdws03.hurtigrutedata.local - - [09/Feb/2006 14:29:44] "GET
/trac_env/chrome/common/extlink.gif HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('192.168.152.237',
3249)
Traceback (most recent call last):
File "C:\Program Files\Plone 2\Python\lib\SocketServer.py", line 463, in
process_request_thread
self.finish_request(request, client_address)
File "C:\Program Files\Plone 2\Python\lib\SocketServer.py", line 254, in
finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Program Files\Plone 2\Python\lib\SocketServer.py", line 521, in
__init__
self.handle()
File "c:\Program Files\Plone 2\Python\lib\BaseHTTPServer.py", line 324,
in handle
self.handle_one_request()
File "c:\Program Files\Plone 2\Python\lib\BaseHTTPServer.py", line 318,
in handle_one_request
method()
File "C:\Program Files\Plone 2\Python\Lib\site-
packages\trac\web\standalone.py", line 259, in do_GET
self._do_trac_req()
File "C:\Program Files\Plone 2\Python\Lib\site-
packages\trac\web\standalone.py", line 295, in _do_trac_req
raise util.TracError('Authentication not enabled. '
TracError: Authentication not enabled. Please use the tracd --auth option.
}}}
----------------------------------------
Comment:
(made the log readable)
--
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