2.2.1.3.10 NETLOGON_ONE_DOMAIN_INFO

The NETLOGON_ONE_DOMAIN_INFO structure SHOULD<27> define information about a single domain. It is in turn contained in the NETLOGON_DOMAIN_INFO structure, as specified in section 2.2.1.3.11. The NETLOGON_DOMAIN_INFO structure describes domain relationships and is generated as output from the NetrLogonGetDomainInfo method, as specified in section 3.5.4.4.10.

 typedef struct _NETLOGON_ONE_DOMAIN_INFO {
   UNICODE_STRING DomainName;
   UNICODE_STRING DnsDomainName;
   UNICODE_STRING DnsForestName;
   GUID DomainGuid;
   PRPC_SID DomainSid;
   UNICODE_STRING TrustExtension;
   UNICODE_STRING DummyString2;
   UNICODE_STRING DummyString3;
   UNICODE_STRING DummyString4;
   ULONG DummyLong1;
   ULONG DummyLong2;
   ULONG DummyLong3;
   ULONG DummyLong4;
 } NETLOGON_ONE_DOMAIN_INFO,
  *PNETLOGON_ONE_DOMAIN_INFO;

DomainName: A null-terminated Unicode string that contains the NetBIOS name of the domain being described. This field MUST NOT be an empty string.

DnsDomainName: A null-terminated Unicode string that contains the DNS domain name for this domain. This field MUST NOT be an empty string.

DnsForestName: A null-terminated Unicode string that contains the DNS forest name for this domain.

DomainGuid: A globally unique 128-bit identifier for this domain.

DomainSid: The security identifier (SID), as specified in [MS-DTYP]  section 2.4.2.3 for this domain.

TrustExtension: A UNICODE_STRING structure which does not point to a Unicode string, but in fact points to a buffer of size 16, in bytes, in the following format.


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

Flags

ParentIndex

TrustType

TrustAttributes

This structure is supplementary domain trust information that contains the following fields of a DS_DOMAIN_TRUSTSW structure (section 2.2.1.6.2): Flags, ParentIndex, TrustType, and TrustAttributes. For more details on usage in NetrLogonGetDomainInfo, see section 3.5.4.4.10.

DummyString2: A STRING structure, defined in section 2.2.1.1.2, that MUST contain 0 for the Length field, 0 for the MaximumLength field, and NULL for the Buffer field. It is ignored upon receipt. The Netlogon usage of dummy fields is defined in section 1.3.8.1.2.

DummyString3: See definition for DummyString2.

DummyString4: See definition for DummyString2.

DummyLong1: MUST be set to zero and MUST be ignored on receipt. The Netlogon usage of dummy fields is defined in section 1.3.8.1.2.

DummyLong2: See definition for DummyLong1.

DummyLong3: See definition for DummyLong1.

DummyLong4: See definition for DummyLong1.