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>' [...]
Updated by Anonymous almost 5 years ago
- Related to Bug #7548: Cannot use UTF8 characters as a user's login, firstname or lastname added
Updated by Anonymous almost 5 years ago
- Blocks Refactor #28587: Support Ruby 2.7 in core added
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Anonymous
- Pull request https://github.com/theforeman/foreman/pull/7311 added
Updated by Anonymous almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset a487232022776f6fe43e0c841e31d72df3021ba1.
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/7615 added
Actions