2.2.3.62 CLUS_NETNAME_PWD_INFOEX

The CLUS_NETNAME_PWD_INFOEX structure provides information for resetting an alternate computer name's associated security principals.

CLUS_NETNAME_PWD_INFOEX is a custom-marshaled structure that has fields 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

Flags

Password (256 bytes)

...

...

CreatingDC (516 bytes)

...

...

ObjectGuid (128 bytes)

...

...

Flags (4 bytes): An 32-bit field indicating whether other fields in the structure have valid data. Can be a combination of the following values.

Value

Meaning

0x00000000

No flags are set, indicating that only the Password field is valid.

GUID_PRESENT

0x00000001

The ObjectGuid field has valid data.

CREATEDC_PRESENT

0x00000002

The CreatingDC field has valid data.

Password (256 bytes): A 256-byte long fixed-length field that contains the new password, as a null-terminated Unicode string, for the alternate computer name's associated security principal. Remaining bytes after null-termination MAY contain any value.

CreatingDC (516 bytes): A 516-byte long fixed-length field that contains the name of a directory server, as a null-terminated Unicode string, where the associated security principal object is stored. Remaining bytes after null-termination MAY contain any value.

ObjectGuid (128 bytes): A GUIDString, as a null-terminated Unicode string, of the security principal object on a directory server. Remaining bytes after null-termination MAY contain any value.