Crypt hashed passwords in LDAP not working
Added by Michael Anderson over 13 years ago
Hi,
I've set up Redmine to authenticate against an openldap server running on Debian 5.0. Some of the users' passwords are stored in SSHA hashes, some with md5 hashes ( like this: "{crypt}$1$....... }. Users with SSHA-hashed passwords can login, but users who have the md5 hashed password cannot. From /var/lib/redmine/log/production.log:
Processing AccountController#login (for 217.9.60.228 at 2011-02-14 13:25:05) [POST] Parameters: {"back_url"=>"http%3A%2F%2Fredmine.mydomain.com%2Fredmine", "action"=>"login", "authenticity_token"=>"BaYjCHas0987rHkUjhT060FnasdflkjECHHkw/0aYg=", "username"=>"jdoe", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Anmelden »"} Failed login for 'jdoe' from 217.9.60.228 at Mon Feb 14 12:25:05 UTC 2011
Is there a way to get Redmine to accept the md5 passwords?
Thanks!