Re: GINA for Smart Card logon



Winlogon already supports smartcards. Why are you writing a new GINA? And you do know the GINA is gone in Windows Vista/Server 2008, right?

--
Steve Riley
steve.riley@xxxxxxxxxxxxx
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"dxulee" <dxulee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:2F78DBF8-A5B7-4052-BDFE-1C3BC5C5674E@xxxxxxxxxxxxxxxx
Recently, I am writing a GINA for Smart Card logon.But I have a problem.

First, I installed PC/SC driver and invoked a function in WlxInitialize
like this
WlxSetOption(g_hWlx, WLX_OPTION_USE_SMART_CARD, 1, NULL);When I remove the
smart card,winlogon looks as if it can not receive the WLX_SAS_TYPE_SC_REMOVE
event.I do not known why. I think windows should send this message to
winlogon.At last, I create a thread and try to get the message
WM_DEVICECHANGE. If it occurs, I will invoke the funtion WlxSasNotify.So I
can receive the WLX_SAS_TYPE_SC_REMOVE event.But there is another problem.My
computer may stop at the winlogon desktop and the default desktop may be
hidden.

Who can give me some solution or suggestion ? And my os is windows xp sp2
Thanks very much.

.



Relevant Pages

  • RE: unlcok PC via VB?
    ... it leaves security hole for windows logon. ... to run the task, by which, you don't have to unlock the windows. ... When windows locks, it opens a Winlogon desktop, as known as secure ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.general)
  • Re: Smart card logon & remote desktop
    ... universal adoption of Windows Vista and Windows ... I am with Slav in suggesting that writing your own GINA is ... I can successfully login using my smart card, ... station does not become locked whatever the state of the "smart card ...
    (microsoft.public.security)
  • Re: Hide Username when pc awakes
    ... system will begin to boot Windows XP Pro. ... There's an important element of security ... User IDs are never designed to be secret, ... Platform Software Development Kit that has GINA samples in it. ...
    (microsoft.public.windowsxp.security_admin)
  • Home page changed each day
    ... C:\Windows\system 32 and is needed to run Windows. ... and deselect any lines relating to winlogon under Startup ... Return to the General tab and select Normal Startup ... I change the default in internet options ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Home page being redirected to www.incredifind.com
    ... C:\Windows\system 32 and is needed to run Windows. ... and deselect any lines relating to winlogon under Startup ... Return to the General tab and select Normal Startup ...
    (microsoft.public.windows.inetexplorer.ie6.browser)