Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#686 closed defect (invalid)

0.8pre and tracd - can't log in.

Reported by: davep@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.7.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm running 0.8pre and using tracd as the webserver. We have four projects running on the site, tracd is bound to 127.0.0.1 and we use ssh tunnels to connect to the server remotely (so authentication is no biggie).

We don't seem to have the ability to create and login as users. Clicking "login" from the front page gives me:

Oops…

Trac detected an internal error:

'NoneType' object has no attribute 'do_auth' Traceback (most recent call last):

File "/usr/bin/tracd", line 234, in do_trac_req

self.do_real_trac_req()

File "/usr/bin/tracd", line 244, in do_real_trac_req

self.remote_user = self.env.auth.do_auth(self)

AttributeError: 'NoneType' object has no attribute 'do_auth'

Attachments (0)

Change History (4)

comment:1 by BM`, 20 years ago

I get that too. I don't think authentication is done yet in tracd, but that is just a guess from some obscure references I found in the changesets.

comment:2 by anonymous, 20 years ago

It is not implemented in trac and from what I know the idea is that you use something else for authentification.

For example a .htpasswd file. And let Apache do the authenthification.

But see TracInstall. Search for 'htpasswd' in the page.

comment:3 by daniel, 20 years ago

Resolution: invalid
Status: newclosed

This is actually not a bug… you have to use the '-a' command argument.

However, the error message needs to be improved (read: even exist :-)

See also: #264.

comment:4 by Jonas Borgström, 20 years ago

tracd currently only has htdigest support (not htpasswd). Trying to authenticate without proper configuration will result in the following non-userfriendly error message.

Authentication is activated like this:

tracd --auth myproj,/foo/myproj.htdigest,www.yourrealm.com /bar/myproj

Ticket #264 will make sure tracd gets better documentation in the future.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.