Class: RubySMB::SMB1::Packet::Trans2::SetFsInformationResponse

Inherits:
GenericPacket
  • Object
show all
Defined in:
lib/ruby_smb/smb1/packet/trans2/set_fs_information_response.rb

Overview

A Trans2 SET_FS_INFORMATION Response Packet. Parent subcommand: MS-CIFS 2.2.6.5 TRANS2_SET_FS_INFORMATION (0x0004) ("reserved but not implemented"). Response shape is defined by the CIFS UNIX Extensions implementation in source3/smbd/smb1_trans2.c:1706-1915 (call_trans2setfsinfo).

Defined Under Namespace

Classes: ParameterBlock

Constant Summary collapse

COMMAND =
RubySMB::SMB1::Commands::SMB_COM_TRANSACTION2

Instance Method Summary collapse

Methods inherited from GenericPacket

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

Instance Method Details

#initialize_instanceObject



47
48
49
50
51
# File 'lib/ruby_smb/smb1/packet/trans2/set_fs_information_response.rb', line 47

def initialize_instance
  super
  parameter_block.setup << RubySMB::SMB1::Packet::Trans2::Subcommands::SET_FS_INFORMATION
  smb_header.flags.reply = 1
end