File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
modules/auxiliary/admin/ldap Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,8 @@ def action_update
509509 new_configuration = load_local_template
510510
511511 operations = [ ]
512- obj . each do |attribute , value |
512+ obj . each do |symbol , value |
513+ attribute = symbol . to_s
513514 next if IGNORED_ATTRIBUTES . any? { |word | word . casecmp? ( attribute ) }
514515
515516 if new_configuration . keys . any? { |word | word . casecmp? ( attribute ) }
@@ -526,7 +527,7 @@ def action_update
526527
527528 new_configuration . each_key do |attribute |
528529 next if IGNORED_ATTRIBUTES . any? { |word | word . casecmp? ( attribute ) }
529- next if obj . attribute_names . any? { |i | i . casecmp? ( attribute ) }
530+ next if obj . attribute_names . any? { |i | i . to_s . casecmp? ( attribute ) }
530531
531532 operations << [ :add , attribute , new_configuration [ attribute ] ]
532533 end
You can’t perform that action at this time.
0 commit comments