Expand Minimize

MSV1_0_SUPPLEMENTAL_CREDENTIAL structure

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.

ValueMeaning
MSV1_0_CRED_LM_PRESENT

The credential contains a LAN Manager (LM) password stored in the LmPassword member.

MSV1_0_CRED_NT_PRESENT

The credential contains a Windows password stored in the NtPassword member.

MSV1_0_CRED_VERSION

Version information is included and is stored in the Version member.

 

LmPassword

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

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecapi.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft