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

Move the Samba log depot validation code from LogFile.verify_log_depot_settings into FileDepotSmb.validate.
user
```ruby
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
```
assistant