MSV1_0_SUPPLEMENTAL_CREDENTIAL structure (ntsecapi.h)
The MSV1_0_SUPPLEMENTAL_CREDENTIAL structure is used to pass credentials into MSV1_0 from Kerberos or custom authentication package.
Syntax
typedef struct _MSV1_0_SUPPLEMENTAL_CREDENTIAL {
ULONG Version;
ULONG Flags;
UCHAR LmPassword[MSV1_0_OWF_PASSWORD_LENGTH];
UCHAR NtPassword[MSV1_0_OWF_PASSWORD_LENGTH];
} MSV1_0_SUPPLEMENTAL_CREDENTIAL, *PMSV1_0_SUPPLEMENTAL_CREDENTIAL;
Members
Version
Specifies the version number of the credential structure and related credential content.
Flags
Describes the credential. This can contain one or more of the following values.
LmPassword[MSV1_0_OWF_PASSWORD_LENGTH]
Contains the LM password. The size of this array is defined by the constant MSV1_0_OWF_PASSWORD_LENGTH. When you have finished using the password, remove the sensitive information from memory by calling SecureZeroMemory. For more information on protecting the password, see Handling Passwords.
NtPassword[MSV1_0_OWF_PASSWORD_LENGTH]
A string that contains the Windows password. The size of this array is defined by the constant MSV1_0_OWF_PASSWORD_LENGTH. When you have finished using the password, remove the sensitive information from memory by calling SecureZeroMemory.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ntsecapi.h |