2.2.5.3 DFS_REFERRAL_V3

The format of the common elements of a version 3 referral entry is as follows. The entry continues in section 2.2.5.3.1 or 2.2.5.3.2, dependent on the value of the NameListReferral flag in the ReferralEntryFlags field.


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

TimeToLive

VersionNumber (2 bytes): A 16-bit integer indicating the version number of the referral entry. MUST be set to 0x0003, specifying DFS_REFERRAL_V3.

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 16-bit field representing a series of flags that are combined by using the bitwise OR operation. Only the NameListReferral bit is defined for DFS_REFERRAL_V3. The other bits MUST be set to zero by the server.

Value

Meaning

NameListReferral

0x0002

MUST be set for a domain referral response or a DC referral response.

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

The following subsections define the remainder of the structure, which is dependent on whether the NameListReferral flag in the ReferralEntryFlags field has a value of 0 or 1 in.