Class: RubySMB::SMB1::Packet::Trans2::QueryFsInformationLevel::QueryFsCifsUnixInfo

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/ruby_smb/smb1/packet/trans2/query_fs_information_level/query_fs_cifs_unix_info.rb

Overview

Response data for SMB_QUERY_CIFS_UNIX_INFO (0x0200) from the CIFS UNIX Extensions. 12 bytes: major/minor version pair plus a 64-bit capability bitfield that the client echoes back in SMB_SET_CIFS_UNIX_INFO to enable UNIX extensions for the session.

Outside of MS-CIFS; wire format defined by the CIFS UNIX Extensions draft maintained by the Samba team. The parent subcommand is documented at MS-CIFS 2.2.6.4 TRANS2_QUERY_FS_INFORMATION (0x0003). The on-disk layout matches Samba's server-side unix_info struct at source3/smbd/globals.h:419-424, populated by call_trans2qfsinfo at source3/smbd/smb1_trans2.c:1633-1703.