共用方式為


3.1.5.6.4.3 UserAllInformation

The server MUST process the message subject to the following constraints:

  1. All updates MUST be done in the same transaction.

  2. The server MUST satisfy the constraints listed in UserAllInformation (Common) (section 3.1.5.6.4.2).

  3. If the USER_ALL_NTPASSWORDPRESENT flag is present in the WhichFields field, the server MUST:

    1. If Buffer.All.NtPasswordPresent is true:

      • Update the unicodePwd attribute with the (decrypted) value of Buffer.All.NtOwfPassword.Buffer.

    2. If Buffer.All.NtPasswordPresent is false:

      • Update the unicodePwd attribute with the NT hash of a zero-length string.

  4. If the USER_ALL_LMPASSWORDPRESENT flag is present in the WhichFields field, the server MUST:

    1. If Buffer.All.LmPasswordPresent is true, update the dBCSPwd attribute with the (decrypted) value of Buffer.All.LmOwfPassword.Buffer.

    2. If Buffer.All.LmPasswordPresent is false, update dBCSPwd attribute with the LM hash of a zero-length string.