Actions
Defect #12037
closedupgrade to 2.1.2, can't use ldap sign or test ldap
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Cant reproduce
Affected version:
Description
NoMethodError (private method `timeout' called for #<AuthSourceLdap:0x0000100d1170c0>): app/models/auth_source_ldap.rb:70:in `with_timeout' app/models/auth_source_ldap.rb:42:in `authenticate' app/models/user.rb:142:in `try_to_login' app/controllers/account_controller.rb:159:in `password_authentication' app/controllers/account_controller.rb:154:in `authenticate_user' app/controllers/account_controller.rb:30:in `login' Failed login for 'admin' from 192.168.0.249 at 2012-10-08 03:29:53 UTC ActionView::Template::Error (wrong number of arguments (0 for 1)): 27: <%= text_field 'auth_source', 'filter', :size => 60 %></p> 28: 29: <p><label for="auth_source_timeout"><%=l(:field_timeout)%></label> 30: <%= text_field 'auth_source', 'timeout', :size => 4 %></p> 31: 32: <p><label for="auth_source_onthefly_register"><%=l(:field_onthefly)%></label> 33: <%= check_box 'auth_source', 'onthefly_register' %></p> app/views/auth_sources/_form_auth_source_ldap.html.erb:30:in `_app_views_auth_sources__form_auth_source_ldap_html_erb___4495202370746076349_34470036700' app/views/auth_sources/edit.html.erb:4:in `block in _app_views_auth_sources_edit_html_erb___1076523837719751993_34467518680' app/views/auth_sources/edit.html.erb:3:in `_app_views_auth_sources_edit_html_erb___1076523837719751993_34467518680'
try to add new auth_sources, still the same error
About your application's environment Ruby version 1.9.3 (amd64-freebsd8) RubyGems version 1.8.24 Rack version 1.4 Rails version 3.2.8 Active Record version 3.2.8 Action Pack version 3.2.8 Active Resource version 3.2.8 Action Mailer version 3.2.8 Active Support version 3.2.8 Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x0000100259d6b8>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication Application root /srv/webroot/bug.stu.edu.tw Environment production Database adapter mysql2 Database schema version 20120422150750
Actions