I installed the AccountManagerPlugin and I'm trying to use the
form-based login. Whenever I start trac and click the login link, I
get a blank page. In my trac.ini file, I have the following:
[components]
trac.web.auth.LoginModule = disabled
acct_mgr.* = enabled
[account-manager]
password_format = htpasswd
password_file = /path/to/htpasswd
I'm also using tracd. I am starting tracd with the following parameters:
tracd --port 8081 /usr/local/trac/chs
Whenever I click the login link and get the blank page, tracd reports
the following:
----------------------------------------
Exception happened during processing of request from ('162.58.0.232', 34241)
Traceback (most recent call last):
File "/var/tmp/python2.4-2.4-root/usr/lib/python2.4/SocketServer.py",
line 463, in process_request_thread
self.finish_request(request, client_address)
File "/var/tmp/python2.4-2.4-root/usr/lib/python2.4/SocketServer.py",
line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/var/tmp/python2.4-2.4-root/usr/lib/python2.4/SocketServer.py",
line 521, in __init__
self.handle()
File "/var/tmp/python2.4-2.4-root/usr/lib/python2.4/BaseHTTPServer.py",
line 314, in handle
self.handle_one_request()
File "/var/tmp/python2.4-2.4-root/usr/lib/python2.4/BaseHTTPServer.py",
line 308, in handle_one_request
method()
File "/usr/lib/python2.4/site-packages/trac/web/standalone.py", line
259, in do_GET
self._do_trac_req()
File "/usr/lib/python2.4/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.
----------------------------------------
If I change the command line to something like "tracd --port 8081
--basic-auth *,/usr/local/trac/chs/htpasswd,slaggle.com
/usr/local/trac/chs" it authenticates but via apache. I enabled the
web admin plugin and checked the plugin status. It showed that the
base LoginModule was disabled and the new one was enabled, so I am at
a loss. What am I doing wrong or what am I missing?
--
Tim Gourley
"Oh boy, come see the plans, they're pure genius"
-Tweaker, Pure Genius from 2AM Wake Up Call
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac