Module: RubySMB::SMB1::Packet::Trans2::SetFsInformationLevel
- Defined in:
- lib/ruby_smb/smb1/packet/trans2/set_fs_information_level.rb
Overview
SET_FS Information Levels used in TRANS2_SET_FS_INFORMATION.
MS-CIFS marks the parent subcommand
TRANS2_SET_FS_INFORMATION (0x0004)
as "reserved but not implemented" — the info level codes below are
defined by the CIFS UNIX Extensions draft maintained by the Samba
team and implemented in
source3/smbd/smb1_trans2.c:1706-1915 (call_trans2setfsinfo).
They sit in the 0x0200–0x02FF range reserved by
MS-CIFS 2.2.2.3 Information Level Codes
for third-party extensions.
Constant Summary collapse
- SMB_SET_CIFS_UNIX_INFO =
Client advertises / negotiates CIFS UNIX Extensions support. Data block: major:u16, minor:u16, capabilities:u64.
0x0200
Class Method Summary collapse
Class Method Details
.name(value) ⇒ Object
21 22 23 |
# File 'lib/ruby_smb/smb1/packet/trans2/set_fs_information_level.rb', line 21 def self.name(value) constants.select { |c| c.upcase == c }.find { |c| const_get(c) == value } end |