2.2.3.13 CLUS_NETNAME_PWD_INFO
The CLUS_NETNAME_PWD_INFO structure provides information for resetting an alternate computer name's associated security principal.
CLUS_NETNAME_PWD_INFO is a custom-marshaled structure that has fields as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Flags |
|||||||||||||||||||||||||||||||
Password (32 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
CreatingDC (516 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
ObjectGuid (128 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
Flags (4 bytes): A 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 (32 bytes): A 32-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.