Re: [Trac] Unable to login to new install of Trac --- error in trac.log = acct_mgr: check_password() -- Can't locate password file

467 views
Skip to first unread message

Steffen Hoffmann

unread,
Dec 16, 2012, 9:42:01 AM12/16/12
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16.12.2012 05:52, Michael Forrester wrote:
> [account-manager]
> account_changes_notify_addresses = <blah>
> force_passwd_change = true
> notify_actions = new,delete
> password_file = /usr2/trac/.htpasswd
> password_store = HtPasswdStore
> user_lock_max_time = 0

This looks like a configuration problem related to recent changes in
HtPasswdStore options [1] before acct_mgr-0.4, and you missed reading
about it in related wiki documentation. Make sure to look at our
configuration cookbook page as well.

Please re-write

password_file = /usr2/trac/.htpasswd
to
htpasswd_file = /usr2/trac/.htpasswd

should help, or you need to tell the exact AccountManager revision/version.

Btw, you may want to select a stronger hash type too:
htpasswd_hash_type = sha512

Steffen Hoffmann


[1] http://trac-hacks.org/wiki/AccountManagerPlugin/AuthStores#HtPasswdStore
[2] http://trac-hacks.org/wiki/CookBook/AccountManagerPluginConfiguration
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDN3bIACgkQ31DJeiZFuHeGDQCgiwXdp08k718snepvooV9v6eq
QCYAnj1u/zdlTZdiLqPH5oayzIyhaE0H
=F8EQ
-----END PGP SIGNATURE-----

Michael Forrester

unread,
Dec 16, 2012, 9:52:27 AM12/16/12
to trac-...@googlegroups.com
Mr. Hoffmann,
Problem solved! Thank you very much for that configuration correction.  That was indeed this issue and I did miss it when looking at the documentation.  Thank you for that reference  My trac migration is now complete and I have upgraded the password security hash per your suggestion as well.  

regards,
Michael Forrester



--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.




--

Michael Forrester

  Director of Infrastructure 

  Worthpoint Corporation 

t.   404-996-1470

c.  404.939.6499 

 

www.WorthPoint.com

www.GoAntiques.com

www.MarksandLibrary.com

 

Description: worthpoint_logo

 

Find us on Twitter: @WorthPoint, Facebook: WorthPointGoAntiques & Pinterest
Get the WorthPoint iOS App
Discuss Antiques in the Antiques & Collectible Linkedin Group!


Reply all
Reply to author
Forward
0 new messages