Expand description
CIFS/SMB2/3 Client Implementation
Implements SMB2/3 protocol with dialect negotiation, NTLM authentication, tree connect/disconnect, file create/read/write/close, directory queries, and message signing via HMAC-SHA256.
Structs§
- Ntlm
Auth - NTLM authentication state machine.
- SmbClient
- SMB2/3 client.
- SmbDir
Entry - SMB2 directory entry.
- SmbFile
Id - SMB2 file ID (persistent + volatile).
- SmbHeader
- SMB2/3 packet header (64 bytes).
Enums§
- Create
Disposition - Create disposition values for SMB2 CREATE.
- NtStatus
- Common SMB/NT status codes.
- SmbCommand
- SMB2/3 command codes.
- SmbDialect
- Supported SMB protocol dialects.
- SmbError
- SMB client error type.
Constants§
- DELETE
- FILE_
READ_ ATTRIBUTES - FILE_
READ_ DATA - Desired access flags.
- FILE_
SHARE_ DELETE - FILE_
SHARE_ READ - Share access flags.
- FILE_
SHARE_ WRITE - FILE_
WRITE_ ATTRIBUTES - FILE_
WRITE_ DATA - GENERIC_
READ - GENERIC_
WRITE