Opened 10 years ago

Closed 10 years ago

#634 closed defect (fixed)

Can't recover trac password

Reported by: gz Owned by: rme
Priority: normal Milestone:
Component: project hosting Version: trunk
Keywords: Cc:

Change History (3)

comment:1 Changed 10 years ago by rme

  • Resolution set to fixed
  • Status changed from new to closed

Fixed sometime this past weekend by adding appropriate IP addresses to mynetworks in /etc/postfix/main.cf.

comment:2 Changed 10 years ago by gz

  • Resolution fixed deleted
  • Status changed from closed to reopened

There still seems to be lingering problem of some sort: http://clozure.com/pipermail/openmcl-devel/2009-December/010849.html

comment:3 Changed 10 years ago by rme

  • Resolution set to fixed
  • Status changed from reopened to closed

It turns out that there is a bug in the account manager plug-in that causes a redirect loop following an "I forgot my password" request.

A workaround is to add

[account-manager]
force_change_passwd = false
...

to the trac.ini file.

To remove any lingering forced password resets, run

% sqlite3 /path/to/trac-env/db/trac.db
SQLite version 3.4.2
Enter ".help" for instructions
sqlite> delete from session_attribute where name='force_change_passwd';

See http://trac-hacks.org/ticket/3233.

I applied and tested the workaround, and will mail stassats.

Note: See TracTickets for help on using tickets.