2.2.7.15 SAMPR_REVISION_INFO_V1

The SAMPR_REVISION_INFO_V1 structure is used to communicate the revision and capabilities of client and server. For more information, see SamrConnect5.

 typedef struct _SAMPR_REVISION_INFO_V1 {
   unsigned long Revision;
   unsigned long SupportedFeatures;
 } SAMPR_REVISION_INFO_V1,
  *PSAMPR_REVISION_INFO_V1;

Revision: The revision of the client or server side of this protocol (depending on which side sends the structure). The value MUST be set to 3 and MUST be ignored.

SupportedFeatures: A bit field. When sent from the client, this field MUST be zero and ignored on receipt by the server. When returned from the server, the following fields are handled by the client; all other bits are ignored by the client and MUST be zero when returned from the server.

Value

Meaning

0x00000001

On receipt by the client, this value, when set, indicates that RID values returned from the server MUST NOT be concatenated with the domain SID to create the SID for the account referenced by the RID. Instead, the client MUST call SamrRidToSid to obtain the SID. This field can be combined with other bits using a logical OR.

See the product behavior citation at the end of this section for more information (about Windows implementations).

0x00000002

Reserved. See the product behavior citation at the end of this section for additional details.

0x00000004

Reserved. See the product behavior citation at the end of this section for additional details.

0x00000010

On receipt by the client, this value, when set, indicates that the client should use AES Encryption with the SAMPR_ENCRYPTED_PASSWORD_AES structure to encrypt password buffers when sent over the wire. See AES Cipher Usage (section 3.2.2.4) and SAMPR_ENCRYPTED_PASSWORD_AES (section 2.2.6.32).

0x00000020

On receipt of this value by the client, when set, indicates that the server supports the validation of computer account re-use through client calls to the SamrValidateComputerAccountReuseAttempt method.<19>

0x00000040

On receipt of this value by the client, when set, indicates that the server supports the validation of computer account re-use through client calls to the SamrValidateComputerAccountReuseAttempt method.<20>

The following citation in section 7 is relevant to the SupportedFeatures field.<21>