20#ifndef WINPR_SECAPI_H_
21#define WINPR_SECAPI_H_
28#include <winpr/wtypes.h>
33 KerbInteractiveLogon = 2,
34 KerbSmartCardLogon = 6,
35 KerbWorkstationUnlockLogon = 7,
36 KerbSmartCardUnlockLogon = 8,
39 KerbTicketUnlockLogon = 11,
41 KerbCertificateLogon = 13,
42 KerbCertificateS4ULogon = 14,
43 KerbCertificateUnlockLogon = 15,
44 KerbNoElevationLogon = 83,
46} KERB_LOGON_SUBMIT_TYPE,
47 *PKERB_LOGON_SUBMIT_TYPE;
51 KERB_LOGON_SUBMIT_TYPE MessageType;
53 ULONG ServiceTicketLength;
54 ULONG TicketGrantingTicketLength;
56 PUCHAR TicketGrantingTicket;
59#define KERB_LOGON_FLAG_ALLOW_EXPIRED_TICKET 0x1
61#define MSV1_0_OWF_PASSWORD_LENGTH 16
67 UCHAR LmPassword[MSV1_0_OWF_PASSWORD_LENGTH];
68 UCHAR NtPassword[MSV1_0_OWF_PASSWORD_LENGTH];
71#define MSV1_0_CRED_VERSION_REMOTE 0xffff0002
75#ifndef KERB_LOGON_FLAG_REDIRECTED
76#define KERB_LOGON_FLAG_REDIRECTED 0x2