class FileDepotSmb < FileDepot
  def self.uri_prefix
    "smb"
  end
end

class FileDepotSmb < FileDepot
  def self.uri_prefix
    "smb"
  end

  def self.validate(settings)
    res = MiqSmbSession.new(settings).verify
    raise "Log Depot Settings validation failed with error: #{res.last}" unless res.first
    res
  end
end

Move the Samba log depot validation code from LogFile.verify_log_depot_settings into FileDepotSmb.validate.
Move the Samba log depot validation code from LogFile.verify_log_depot_settings into FileDepotSmb.validate.

https://bugzilla.redhat.com/show_bug.cgi?id=1151173
