Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#465 closed defect (fixed)

lighttpd + htdigest mode does not set realm

Reported by: anonymous Owned by: Matt Good
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

I've been trying to get this plugin working with lighttpd and noticed a few things:

  • lighttpd htpasswd auth requires crypt() encoding, and can't deal with md5(), which is what this plug generates, so htdigest is required for proper support in lighttpd, but!
  • when using htdigest mode authentication, the "htdigest_realm" setting in trac.ini is not honored and the realm is set to the empty string "" inside the htdigest file after updating password via this plug (note that this can be worked around by simply using empty string for realm in lighttpd configuration).

Attachments (0)

Change History (2)

comment:1 Changed 18 years ago by Matt Good

Resolution: fixed
Status: newclosed

(In [963]) merge r962 to 0.9 branch (fixes #465)

comment:2 Changed 18 years ago by Matt Good

The realm was read in the constructor for the htdigest handler, so if you set the value in the config after the server had been started the change was not detected. r962 and r963 fix that.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.