Compartir a través de


2.2.5.2 DFS_REFERRAL_V2

The format of the version 2 referral entry is as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

VersionNumber

Size

ServerType

ReferralEntryFlags

Proximity

TimeToLive

DFSPathOffset

DFSAlternatePathOffset

NetworkAddressOffset

VersionNumber (2 bytes):  A 16-bit integer indicating the version number of the referral entry. MUST always be 0x0002 for DFS_REFERRAL_V2.

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):  MUST be set to 0x0000 by the server and ignored on receipt by the client.

Proximity (4 bytes):  MUST be set to 0x00000000 by the server and ignored by the client.

TimeToLive (4 bytes):  A 32-bit integer indicating the time-out value, in seconds, of the DFS root or DFS link.

DFSPathOffset (2 bytes):  A 16-bit integer indicating the offset, in bytes, from the beginning of this referral entry to the DFS path that corresponds to the DFS root or the DFS link for which target information is returned.

DFSAlternatePathOffset (2 bytes):  A 16-bit integer indicating the offset, in bytes, from the beginning of this referral entry to the DFS path that corresponds to the DFS root or the DFS link for which target information is returned.

NetworkAddressOffset (2 bytes):  A 16-bit integer indicating the offset, in bytes, from the beginning of this referral entry to the network address of the DFS target that corresponds to this entry.