Solved

Gina dll, profile type in WlxLoggedOutSAS

Posted on 1997-04-08
1
274 Views
Last Modified: 2013-12-03
I am writing a stub gina dll so that I may provide automated
policies/profiles with information gathered from an authenticated connection with my network provider, vice using domains/controllers. This DLL is being written to support both NT3.5x and 4.0 by runtime checking the version of OS and winlogon, and loading the correct winlogon fuction dispatch tables and hooking the version 2 additional gina (4.0 only )functions if neccessary.

My question is, WlxLoggedOutSAS returns with a profile structure, either WLX_PROFILE_V1_0 or V2_0.  I would like to use the 2.0 structure in both NT versions, because there are members in 2.0 for UNC paths to default user profile, current user profile, and current user policy.  1.0 only has 1 member, the policy.  I can't find any documentation that tells me if 2.0 is only for NT4.0, in fact, I wouldn't have known about it at all if I didn't look at winwlx.h.

Is 2.0 only for NT4.x, or is it based on the winlogon version you are running with, being 1.0 or 1.1?

Thanks a lot for any help.
Tim
0
Comment
Question by:tima
1 Comment
 
LVL 3

Accepted Solution

by:
sperling earned 200 total points
ID: 1334493
The WLX_PROFILE struct never leaves Winlogon. Winlogon simply uses the WLX_PROFILE struct to set up the users profile, and then discards the information.

Thus, the version depends on the version of Winlogon, not NT.

The possible pitfall here might be that WInlogon assumes NT 4.0 if a 2.0 WLX_PROFILE struct is returned, but that would be to stupid even for MS ;)

Have you considered the possibility of loading profiles yourself? A bit work, but it'll give you the control of the profiles which you seem to wish.

Regards,

Erik.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question