GINA: token becomes invalid all of a sudden
- From: Kevin Cheung <KevinCheung@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 11 Sep 2008 05:41:02 -0700
In my gina.dll, after several logins and logouts, the token becomes invalid
all of a sudden between WlxLoggedOutSAS and WlxActivateUserShell.
The token is obtained from LogonUser called within WlxLoggedOutSAS.
ImpersonateLoggedOnUser is successful right before returning
WLX_SAS_ACTION_LOGON. However, when WlxActivateUserShell is called,
ImpersonateLoggedOnUser fails with the very same token. My current
implementation is to return FALSE in WlxActivateUserShell and ask the user to
login again.
There seems to be some strange things going on in WinLogon.exe between
calling WlxLoggedOutSAS and WlxActivateUserShell. Is there any way to find
out what WinLogon.exe does between the two calls?
.
- Follow-Ups:
- RE: GINA: token becomes invalid all of a sudden
- From: Kevin Cheung
- RE: GINA: token becomes invalid all of a sudden
- Prev by Date: Re: CreateFile() and FILE_FLAG_WRITE_THROUGH
- Next by Date: Re: CreateFile() and FILE_FLAG_WRITE_THROUGH
- Previous by thread: Driver has problem on a Quad Core machine
- Next by thread: RE: GINA: token becomes invalid all of a sudden
- Index(es):
Relevant Pages
|