GINA, UPN & offline LogonUser problem on Windows 2000
From: Denis Galiana (denis.galiana_at_nospam.nospam)
Date: 06/24/05
- Next message: Secret_Cherokee: "RE: System restore Files"
- Previous message: dl: "2000 sdk"
- Next in thread: Rhett Gong [MSFT]: "RE: GINA, UPN & offline LogonUser problem on Windows 2000"
- Reply: Rhett Gong [MSFT]: "RE: GINA, UPN & offline LogonUser problem on Windows 2000"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 24 Jun 2005 05:52:02 -0700
Hi
(Please, fasten your seatbelt ;-)
I have found the following problem on Windows 2000 Pro (tested on SP4) :
- I connect with a user using an UPN login (user@domain.com)
- I Logoff
- I connect with this user using username and selecting domain
- I remove my network cable
- I try to connect offline with an UPN and ... it fails.
- If I connect with a USER/DOMAIN I can connect offline.
So it seems there is two logon caches, one for UPN and one for classic
USER/DOMAIN, and that one deletes the other.
This problems does not occur on Windows XP.
And here is how I am concerned with this behavior:
I have a GINA stub that "hook" some GINA function to get the user login and
password and to launch a program in the user session (providing it with the
username and password). This program connects to a service that makes a
LogonUser with these credentials.
The problem is that in the GINA the WlxLoggedOutSAS function returns only
USER/DOMAIN, even if the user has connected with an UPN.
So, if user connects with an UPN:
- MS GINA makes a LogonUser with an UPN
- MS GINA returns a converted DOMAIN/USER
- My GINA Launches my program, which connects to my service that does a
LogonUser with a DOMAIN/USER, deleting the Windows UPN cache.
So, my user cannot connect offline anymore if he connects with an UPN.
How could I know if the user connects with an UPN in MSGINA at
WLxLoggedOutSAS function return ?
Thanks
- Next message: Secret_Cherokee: "RE: System restore Files"
- Previous message: dl: "2000 sdk"
- Next in thread: Rhett Gong [MSFT]: "RE: GINA, UPN & offline LogonUser problem on Windows 2000"
- Reply: Rhett Gong [MSFT]: "RE: GINA, UPN & offline LogonUser problem on Windows 2000"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|