CIFS Server Capability Encoding

The first client request to a server is a SMB_COM_NEGOTIATE command that queries the server capabilities. Server capabilities include string support, large file support, and CIFS commands supported.

Value Description
0x0001 CAP_RAW_MODE
The server supports SMB_COM_READ_RAW and SMB_COM_WRITE_RAW.
0x0002 CAP_MPX_MODE
The server supports SMB_COM_READ_MPX and SMB_COM_WRITE_MPX.
0x0004 CAP_UNICODE
The server supports Unicode strings.
0x0008 CAP_LARGE_FILES
The server supports large files with 64-bit offsets.
0x0010 CAP_NT_SMBS
The server supports SMB commands particular to the NTLM 0.12 dialect of CIFS.
0x0020 CAP_RPC_REMOTE_APIS
The sever supports remote API requests using RPC.
0x0040 CAP_STATUS32
The server can respond with 32-bit status codes in Status.Status.
0x0080 CAP_LEVEL_II_OPLOCKS
The server supports Level II oplocks.
0x0100 CAP_LOCK_AND_READ
The server supports the SMB_COM_LOCK_AND_READ SMB command.
0x0200 CAP_NT_FIND
0x1000 CAP_DFS
This server is DFS- aware.
0x2000 CAP_INFOLEVEL_PASSTHRU
The server supports Windows NT information level requests passing through.
0x4000 CAP_LARGE_READX
The server supports large read operations.
0x8000 CAP_LARGE_WRITEX
The server supports large write operations.
0x02000000 CAP_RESERVED
Reserved for future use.
0x20000000 CAP_BULK_TRANSFER
The server supports SMB_BULK_READ and SMB_BULK_WRITE.
0x40000000 CAP_COMPRESSED_DATA
The server supports compressed data transfer. This capability must be associated with BULK_TRANSFER.
0x80000000 CAP_EXTENDED_SECURITY
The server supports extended security exchange.

See Also

Royalty-Free CIFS Technical Reference License Agreement