Class: RubySMB::SMB2::Packet::TreeConnectRequest

Inherits:
GenericPacket
  • Object
show all
Defined in:
lib/ruby_smb/smb2/packet/tree_connect_request.rb

Overview

An SMB2 TreeConnectRequest Packet as defined in 2.2.9 SMB2 TREE_CONNECT Request

Constant Summary collapse

COMMAND =
RubySMB::SMB2::Commands::TREE_CONNECT
SMB2_TREE_CONNECT_FLAG_CLUSTER_RECONNECT =

The client has previously connected to the specified cluster share using the SMB dialect of the connection on which the request is received.

0x0001
SMB2_TREE_CONNECT_FLAG_REDIRECT_TO_OWNER =

The client can handle synchronous share redirects via a Share Redirect error context response as specified in section 2.2.2.2.2.

0x0002
SMB2_TREE_CONNECT_FLAG_EXTENSION_PRESENT =

A tree connect request extension, as specified in section 2.2.9.1, is present, starting at the Buffer field of this tree connect request.

0x0003

Method Summary

Methods inherited from GenericPacket

describe, #display, fields_hashed, format_field, from_hex, #initialize_instance, #packet_smb_version, read, #status_code, #valid?, walk_fields