Compartilhar via


2.2.6.30 SAMPR_USER_INTERNAL7_INFORMATION

The SAMPR_USER_INTERNAL7_INFORMATION structure holds an encrypted password.

This structure is used to carry a new password for a particular account from the client to the server, encrypted in a way that protects such a password from disclosure or tampering while in transit.

   typedef struct _SAMPR_USER_INTERNAL7_INFORMATION {
     SAMPR_ENCRYPTED_PASSWORD_AES UserPassword;
     BOOLEAN PasswordExpired;
   } SAMPR_USER_INTERNAL7_INFORMATION,  
    *PSAMPR_USER_INTERNAL7_INFORMATION;

UserPassword:  A cleartext password, encrypted as specified in SAMPR_ENCRYPTED_PASSWORD_AES (section 2.2.6.32) and AES Cipher Usage (section 3.2.2.4), where the encryption key is the 16-byte SMB session key obtained as specified in either section 3.1.2.4 or section 3.2.2.3.

PasswordExpired:  Handle expired passwords as specified in section 2.2.6.1.