Ticket #465 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

lighttpd + htdigest mode does not set realm

Reported by: anonymous Assigned to: mgood
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

Change History

06/26/06 21:52:53 changed by mgood

  • status changed from new to closed.
  • resolution set to fixed.

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

06/26/06 21:56:18 changed by mgood

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.


Add/Change #465 (lighttpd + htdigest mode does not set realm)




Change Properties
Action