2.2.5.1 DFS_REFERRAL_V1
The format of the version 1 referral entry is as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VersionNumber |
Size |
||||||||||||||||||||||||||||||
ServerType |
ReferralEntryFlags |
||||||||||||||||||||||||||||||
ShareName (variable) |
|||||||||||||||||||||||||||||||
... |
VersionNumber (2 bytes): A 16-bit integer indicating the version number of the referral entry. MUST always be 0x0001 for DFS_REFERRAL_V1.
Size (2 bytes): A 16-bit integer indicating the total size of the referral entry in bytes.
ServerType (2 bytes): A 16-bit integer indicating the type of server hosting the target.
-
Value
Meaning
0x0000
Non-root targets returned.
0x0001
Root targets returned.
ReferralEntryFlags (2 bytes): A series of bit flags. MUST be set to 0x0000 and ignored on receipt.
ShareName (variable): A null-terminated Unicode character string that specifies a DFS target.