Solved

Gina dll, profile type in WlxLoggedOutSAS

Posted on 1997-04-08
1
275 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…

821 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