Actions
Defect #4918
closedRevisions r3453 and r3454 broke On-the-fly user creation with LDAP
Start date:
2010-02-23
Due date:
% Done:
100%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Revisions r3453 and r3454 broke On-the-fly user creation with LDAP
When attempting to enter a valid username and password for a user existing in AD, but not in Redmine I'm getting the following error (production.log):
Processing AccountController#login (for 192.168.0.100 at 2010-02-23 13:00:27) [POST] Parameters: {"back_url"=>"http%3A%2F%2Flocalhost", "action"=>"login", "authenticity_token"=>"cBCdZZoPF6hXV2QeqgVcd/BKAkYH9laBDjRKdSSSA10=", "username"=>"user1", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login ยป"} ActiveRecord::UnknownAttributeError (unknown attribute: dn): app/models/user.rb:114:in `new' app/models/user.rb:114:in `try_to_login' app/controllers/account_controller.rb:140:in `password_authentication' app/controllers/account_controller.rb:35:in `login' Rendering C:/webserver/railsapps/redmine/public/500.html (500 Internal Server Error)
Reverting only app\models\auth_source_ldap.rb to r3452 fixes the issue and user gets created in Redmine.
Actions