Problems with Winlogon creating user profiles
From: Justin Yorke (jyorke_at_umich.edu)
Date: 12/12/04
- Previous message: Sektor: "Re: Can't call WlxSASNotify in a separate thread! Alternative ways?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 12 Dec 2004 02:30:02 -0500
I am writing a replacement GINA for Windows 2000 and XP, with a Windows
XP SP2 client (joined to a WS2k3 domain) as my primary testing platform,
and I'm having some issues. While I am able to successfully log into my
Administrator account and my normal user account, I am unable to log
into any account which does not already have a profile on the machine.
I am using LogonUserW() with LOGON32_PROVIDER_DEFAULT and
LOGON32_PROVIDER_DEFAULT to log on the user, and returning NULL in
*pPofile from WlxLoggedOutSAS, so Winlogon is responsible for loading
the profile. Winlogon, however, appears to begin loading a profile (if
I log in with another user, the new user profile directory is created
under C:\Documents and Settings\, and the ACLs are set correctly.
However, after Winlogon calls WlxDisplayStatusMessage with the message
"Loading your personal settings...", the system stops responding, and I
can't even move the dialog box that I show from WlxDisplayStatusMessage
with the mouse. This occurs with both local and domain accounts, and
both Administrators and LUAs.
Does anyone have any ideas about this, or any examples of profile
creation and loading code that I could use instead of passing control to
Winlogon? Any help would be greatly appreciated.
-- Justin
- Previous message: Sektor: "Re: Can't call WlxSASNotify in a separate thread! Alternative ways?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|