Compartilhar via


2.2.1.3.6 NETLOGON_WORKSTATION_INFO

The NETLOGON_WORKSTATION_INFO structure defines information passed into the NetrLogonGetDomainInfo method, as specified in 3.5.4.4.10. It SHOULD<20> be used to convey information about a member workstation from the client side to the server side.

 typedef struct _NETLOGON_WORKSTATION_INFO{
   NETLOGON_LSA_POLICY_INFO LsaPolicy;
   [string] wchar_t* DnsHostName;
   [string] wchar_t* SiteName;
   [string] wchar_t* Dummy1;
   [string] wchar_t* Dummy2;
   [string] wchar_t* Dummy3;
   [string] wchar_t* Dummy4;
   UNICODE_STRING OsVersion;
   UNICODE_STRING OsName;
   UNICODE_STRING DummyString3;
   UNICODE_STRING DummyString4;
   ULONG WorkstationFlags;
   ULONG KerberosSupportedEncryptionTypes;
   ULONG DummyLong3;
   ULONG DummyLong4;
 } NETLOGON_WORKSTATION_INFO,
  *PNETLOGON_WORKSTATION_INFO;

LsaPolicy: A NETLOGON_LSA_POLICY_INFO structure, as specified in section 2.2.1.3.5, that contains the LSA policy for this domain.

DnsHostName: A null-terminated Unicode string that contains the DNS host name of the client.

SiteName: A null-terminated Unicode string that contains the name of the site where the workstation resides.

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

Dummy2: See definition of Dummy1.

Dummy3: See definition of Dummy1.

Dummy4: See definition of Dummy1.

OsVersion: A UNICODE_STRING structure in which the Length and MaximumLength fields are set to the size of an OSVERSIONINFOEX structure and the Buffer field points to an OSVERSIONINFOEX ([MS-RPRN] section 2.2.3.10.2) structure. OsVersion contains the version number of the operating system installed on the client machine.

OsName: A null-terminated Unicode string that SHOULD<21> contain the name of the operating system installed on the client machine. The DC that receives this data structure updates the operatingSystem attribute of the client's machine account object in Active Directory, as specified in [MS-ADA3] section 2.53.

DummyString3: A STRING structure, defined in section 2.2.1.1.1, 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.

DummyString4: See definition for DummyString3.

WorkstationFlags: A set of bit flags specifying workstation behavior. A flag is TRUE (or set) if its value is equal to 1. The value is constructed from zero or more bit flags from the following table.


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

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

B

A

Where the bits are defined as:

Value

Description

A

Client will receive inbound trusts as specified in [MS-LSAD] section 2.2.7.9. The client sets this bit in order to receive the inbound trusts.

B

Client handles the update of the service principal name (SPN).

All other bits MUST be set to zero and MUST be ignored on receipt.

KerberosSupportedEncryptionTypes: The msDS-SupportedEncryptionTypes attribute of the client's machine account object in Active Directory, as specified in [MS-ADA2] section 2.481.<22>

DummyLong3: 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.

DummyLong4: See definition of DummyLong3.