nt-part2_85
Analysis of the Security of Windows NT
1 March 1999
85
TABLE 8. The flags2 field
3
SMB_FLAGS_CASELESS
1, all pathnames in this SMB must be treated as
caseless.
0, all pathnames in this SMB are case sensitive.
4
Reserved (clients must send as zero; servers must
ignore).
5
Reserved for obsolescent requests.
(SMB_COM_OPEN, SMB_COM_CREATE and
SMB_COM_CREATE_NEW)
6
Reserved for obsolescent requests.
(SMB_COM_OPEN, SMB_COM_CREATE and
SMB_COM_CREATE_NEW)
7
SMB_FLAGS_SERVER_RESP
1, this SMB is being sent from the server in
response to a client request. The command field
usually contains the same value in a protocol
request from the client to the server as in the
server to the client. This bit unambiguously dis-
tinguishes the command request from the com-
mand response.
Value
Name
Meaning
0x0001
SMB_FLAGS2_KNOWS_LON
G_NAMES
1 in request, the server may return long compo-
nents in path names in the response.
0x0002
SMB_FLAGS2_KNOWS_EAS
1, the client is aware of extended attributes.
0x0004
SMB_FLAGS2_SECURITY_SI
GNATURE
1, the SMB is integrity checked.
0x0008
SMB_FLAGS2_RESERVED1
Reserved for future use.
0x0040
SMB_FLAGS2_IS_LONG_NA
ME
1, the path name in the request is a long name.
0x0800
SMB_FLAGS2_EXT_SEC
1, the client is aware of Extended Security nego-
tiation.
0x1000
SMB_FLAGS2_DFS
1, any request pathname in this SMB should be
resolved in the Distributed File System.
0x2000
SMB_FLAGS2_PAGING_IO
1, indicates that a read will be permitted if the cli-
ent does not have read permission but does have
execute permission. This flag is only useful on
read request.
0x4000
SMB_FLAGS2_ERR_STATUS
1, specifies that the returned error code is a 32-bit
error code in Status.Status. Otherwise the Sta-
tus.DosError.ErrorClass and Status.DosEr-
ror.Error field contains the DOS-style error
information. Then passing NT status codes is
negotiated, this flag should be set for every SMB.
0x8000
SMB_FLAGS2_UNICODE
1, any field of datatype STRING in this SMB
message are encoded as UNICODE. Otherwise,
they are in ASCII.
Bit
Name
Meaning