mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:45:44 +00:00
Copy AuthenticationId from existing token when duplicating a token
svn path=/trunk/; revision=10489
This commit is contained in:
parent
39bfabb1d4
commit
78a5367c1d
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: token.c,v 1.40 2004/08/10 20:30:35 gvg Exp $
|
||||
/* $Id: token.c,v 1.41 2004/08/10 21:11:20 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -179,8 +179,7 @@ SepDuplicateToken(PACCESS_TOKEN Token,
|
|||
AccessToken->TokenInUse = 0;
|
||||
AccessToken->TokenType = TokenType;
|
||||
AccessToken->ImpersonationLevel = Level;
|
||||
AccessToken->AuthenticationId.LowPart = SYSTEM_LUID;
|
||||
AccessToken->AuthenticationId.HighPart = 0;
|
||||
RtlCopyLuid(&AccessToken->AuthenticationId, &Token->AuthenticationId);
|
||||
|
||||
AccessToken->TokenSource.SourceIdentifier.LowPart = Token->TokenSource.SourceIdentifier.LowPart;
|
||||
AccessToken->TokenSource.SourceIdentifier.HighPart = Token->TokenSource.SourceIdentifier.HighPart;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue