63{
84
86
88 "MSGINA Logon");
89
92
94 lpszUsername);
95
98
103
106 AuthInfoLength);
107 if (AuthInfo ==
NULL)
108 {
110 goto done;
111 }
112
114
116
121 {
125
127 }
128
136
138
146
147
159 &LogonSid);
161 goto done;
162
163
165 1,
176 goto done;
177
178
183 {
185 goto done;
186 }
187
195
196
199
205 AuthInfoLength,
210 &Luid,
212 &QuotaLimits,
215 {
216 ERR(
"LsaLogonUser failed (Status 0x%08lx)\n",
Status);
217 goto done;
218 }
219
221 {
224
227
230 }
231
233
235 {
237 }
238
240
241done:
244
246 {
249 }
250
253
256
257 if (LogonSid !=
NULL)
259
260 if (AuthInfo !=
NULL)
262
264}
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
ULONG AuthenticationPackage
BOOL WINAPI AllocateLocallyUniqueId(PLUID Luid)
static const CHAR User32TokenSourceName[]
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
static SID_IDENTIFIER_AUTHORITY SystemAuthority
_In_ ACCESS_MASK _In_ ULONG _Out_ PHANDLE TokenHandle
NTSYSAPI PVOID NTAPI RtlFreeSid(_In_ _Post_invalid_ PSID Sid)
#define SE_GROUP_LOGON_ID
#define SE_GROUP_MANDATORY
#define SE_GROUP_ENABLED_BY_DEFAULT
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID _Out_ PULONG _Inout_ PLUID _Out_ PHANDLE _Out_ PQUOTA_LIMITS _Out_ PNTSTATUS SubStatus
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID * ProfileBuffer
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID _Out_ PULONG ProfileBufferLength
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID _Out_ PULONG _Inout_ PLUID LogonId
_IRQL_requires_same_ _In_ PLSA_STRING OriginName
NTSYSAPI NTSTATUS NTAPI RtlAllocateAndInitializeSid(IN PSID_IDENTIFIER_AUTHORITY IdentifierAuthority, IN UCHAR SubAuthorityCount, IN ULONG SubAuthority0, IN ULONG SubAuthority1, IN ULONG SubAuthority2, IN ULONG SubAuthority3, IN ULONG SubAuthority4, IN ULONG SubAuthority5, IN ULONG SubAuthority6, IN ULONG SubAuthority7, OUT PSID *Sid)
NTSTATUS NTAPI LsaLogonUser(HANDLE, PLSA_STRING, SECURITY_LOGON_TYPE, ULONG, PVOID, ULONG, PTOKEN_GROUPS, PTOKEN_SOURCE, PVOID *, PULONG, PLUID, PHANDLE, PQUOTA_LIMITS, PNTSTATUS)
NTSTATUS NTAPI LsaFreeReturnBuffer(PVOID)
struct _MSV1_0_INTERACTIVE_LOGON MSV1_0_INTERACTIVE_LOGON
MSV1_0_LOGON_SUBMIT_TYPE MessageType
UNICODE_STRING LogonDomainName
#define RtlCopyMemory(Destination, Source, Length)
#define STATUS_INSUFFICIENT_RESOURCES
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE phToken
_In_opt_ LPSTR _In_opt_ LPSTR lpszPassword
_In_opt_ LPSTR lpszDomain
#define SECURITY_LOGON_IDS_RID
#define SECURITY_LOCAL_SID_AUTHORITY
#define SECURITY_LOCAL_RID
#define SECURITY_NULL_RID
#define SECURITY_NT_AUTHORITY
#define SECURITY_LOGON_IDS_RID_COUNT