Cygwin: Fix typo KERB_S4U_LOGON_FLAG_IDENTITY -> IDENTIFY

(cherry picked from commit 01c734b0d7)
This commit is contained in:
Jon Turney 2022-04-12 11:48:54 +01:00
parent 251c823aba
commit 05827d2df8
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 2 additions and 2 deletions

View File

@ -1490,7 +1490,7 @@ typedef struct _MSV1_0_S4U_LOGON
} MSV1_0_S4U_LOGON, *PMSV1_0_S4U_LOGON; } MSV1_0_S4U_LOGON, *PMSV1_0_S4U_LOGON;
/* Missing in Mingw-w64 */ /* Missing in Mingw-w64 */
#define KERB_S4U_LOGON_FLAG_IDENTITY 0x08 #define KERB_S4U_LOGON_FLAG_IDENTIFY 0x08
#endif #endif
@ -1611,7 +1611,7 @@ s4uauth (bool logon, PCWSTR domain, PCWSTR user, NTSTATUS &ret_status)
RtlSecureZeroMemory (authinf, authinf_size); RtlSecureZeroMemory (authinf, authinf_size);
s4u_logon = (KERB_S4U_LOGON *) authinf; s4u_logon = (KERB_S4U_LOGON *) authinf;
s4u_logon->MessageType = KerbS4ULogon; s4u_logon->MessageType = KerbS4ULogon;
s4u_logon->Flags = logon ? 0 : KERB_S4U_LOGON_FLAG_IDENTITY; s4u_logon->Flags = logon ? 0 : KERB_S4U_LOGON_FLAG_IDENTIFY;
/* Append user to login info */ /* Append user to login info */
RtlInitEmptyUnicodeString (&s4u_logon->ClientUpn, RtlInitEmptyUnicodeString (&s4u_logon->ClientUpn,
(PWCHAR) (s4u_logon + 1), (PWCHAR) (s4u_logon + 1),