mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[LSASRV] LsapLogonUser creates an impersonation token for a network logon
This commit is contained in:
@@ -1570,7 +1570,7 @@ LsapLogonUser(PLSA_API_MSG RequestMsg,
|
||||
Status = NtCreateToken(&TokenHandle,
|
||||
TOKEN_ALL_ACCESS,
|
||||
&ObjectAttributes,
|
||||
TokenPrimary,
|
||||
(RequestMsg->LogonUser.Request.LogonType == Network) ? TokenImpersonation : TokenPrimary,
|
||||
&RequestMsg->LogonUser.Reply.LogonId,
|
||||
&TokenInfo1->ExpirationTime,
|
||||
&TokenInfo1->User,
|
||||
|
||||
Reference in New Issue
Block a user