Compartilhar via


2.2.5.1 DFS_REFERRAL_V1

The format of the version 1 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

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.