LSA_AUTH_INFORMATION structure (ntsecapi.h)

The LSA_AUTH_INFORMATION structure contains authentication information for a trusted domain.

Syntax

typedef struct _LSA_AUTH_INFORMATION {
  LARGE_INTEGER LastUpdateTime;
  ULONG         AuthType;
  ULONG         AuthInfoLength;
  PUCHAR        AuthInfo;
} LSA_AUTH_INFORMATION, *PLSA_AUTH_INFORMATION;

Members

LastUpdateTime

A LARGE_INTEGER structure that uses the Coordinated Universal Time (Greenwich Mean Time) format to indicate the time that this value was set. For more information about Coordinated Universal Time, see the FILETIME structure.

AuthType

Specifies one of the following values to indicate the type of authentication information in the AuthInfo buffer.

Value Meaning
TRUST_AUTH_TYPE_NONE
The format is unknown and will be ignored.
TRUST_AUTH_TYPE_NT4OWF
The Windows NT 4.0 one-way format (OWF) of a plaintext password. Note that you cannot derive the clear password back from the OWF form of the password.

The system sets this information.

TRUST_AUTH_TYPE_CLEAR
Plaintext password to use for the trust.
TRUST_AUTH_TYPE_VERSION
Plaintext password version number.

AuthInfoLength

Specifies the size, in bytes, of the AuthInfo member.

AuthInfo

Pointer to an array of bytes that contains the type of authentication information indicated by the AuthType member.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecapi.h