Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4228 closed defect (worksforme)

tracd doesn't prompt for authentication

Reported by: serg@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: web frontend/tracd Version: 0.10.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

  • Trac 0.10.2 with default options (—prefix … CFLAGS='-march=i686').
  • tracd is runned as
    /usr/bin/tracd -p 8001 -d -a myproject,/opt/proj.passwd,my.host.addr /opt/myproject
    
  • File /opt/proj.passwd was created with
    htdigest2 -c /opt/proj.passwd my.host.addr user
    

But tracd doesn't ask authorization at all… Even if I request page http://user@my.host.addr/, I get only firefox warning, but no auth dialog. What's wrong?

Attachments (0)

Change History (9)

comment:1 by Tim Hatch <trac@…>, 17 years ago

Component: generaltracd
Keywords: tracd added
Summary: authentication doesn't worktracd doesn't prompt for authentication

What happens when you visit http://my.host.addr:8001/login or the Login link at the top nav in your Trac?

comment:2 by Emmanuel Blot, 17 years ago

Description: modified (diff)

comment:3 by Matthew Good, 17 years ago

Keywords: needinfo added; tracd removed

in reply to:  1 ; comment:4 by anonymous, 17 years ago

Replying to Tim Hatch <trac@timhatch.com>:

What happens when you visit http://my.host.addr:8001/login or the Login link at the top nav in your Trac?

If I use link, then I see 'Environment not found'. If I use "Login" link at the top nav, it works :) Thank you for help. Is it possible to disable page access for anonymous visitors at all?

in reply to:  4 ; comment:5 by Matthew Good, 17 years ago

Keywords: needinfo removed
Resolution: worksforme
Status: newclosed

Replying to anonymous:

Replying to Tim Hatch <trac@timhatch.com>:

What happens when you visit http://my.host.addr:8001/login or the Login link at the top nav in your Trac?

If I use link, then I see 'Environment not found'. If I use "Login" link at the top nav, it works :) Thank you for help. Is it possible to disable page access for anonymous visitors at all?

Yes, see TracPermissions and remove all permissions for "anonymous". You can add permissions for "authenticated" that all logged in users will get.

in reply to:  5 ; comment:6 by anonymous, 17 years ago

Unfortunatelly, 'trac-admin /path/to/project permission remove anonymous \*' says:

Command failed: LOG_VIEW is not a valid action.

So, I don't know hot to remove all permissions…

in reply to:  6 comment:7 by Christian Boos, 17 years ago

Replying to anonymous:

Command failed: LOG_VIEW is not a valid action.

See #3688.

comment:8 by anonymous, 17 years ago

Keywords: Create Users added
Resolution: worksforme
Status: closedreopened

Can anybody tell me how to create users in trac ? i installed it with lot of problems and now another week is going to wasted in searching of how to create users

comment:9 by Emmanuel Blot, 17 years ago

Keywords: Create Users removed
Resolution: worksforme
Status: reopenedclosed

Please use the MailingList for installation questions - do not forget to give details on your configuration.

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.