Solved

Gina dll, profile type in WlxLoggedOutSAS

Posted on 1997-04-08
1
269 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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now