Actions
Bug #28600
closedRuby 2.7 FrozenError with LDAP auth sources
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Authentication
Target version:
-
Difficulty:
Triaged:
No
Description
2019-12-31T01:15:47 [D|app|] Backtrace for 'Error during authentication against 'LDAP-ldap-server'' error (FrozenError): can't modify frozen String: "" | /home/mmoll/mystuff/gitrepos/theforeman/foreman/app/models/auth_sources/auth_source_ldap.rb:74:in `force_encoding' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/app/models/auth_sources/auth_source_ldap.rb:74:in `block in authenticate' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/app/models/auth_sources/auth_source_ldap.rb:74:in `each' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/app/models/auth_sources/auth_source_ldap.rb:74:in `authenticate' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/app/models/auth_source.rb:96:in `block in authenticate' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:70:in `block (2 levels) in find_each' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:70:in `each' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:70:in `block in find_each' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:136:in `block in find_in_batches' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:238:in `block in in_batches' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:222:in `loop' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:222:in `in_batches' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:135:in `find_in_batches' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.7.0/gems/activerecord-5.2.1/lib/active_record/relation/batches.rb:69:in `find_each' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/app/models/auth_source.rb:93:in `authenticate' | /home/mmoll/mystuff/gitrepos/theforeman/foreman/test/models/auth_sources/auth_source_ldap_test.rb:75:in `block in <class:AuthSourceLdapTest>' [...]
Actions