?
Solved

Gina dll, profile type in WlxLoggedOutSAS

Posted on 1997-04-08
1
Medium Priority
?
280 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
sperling earned 400 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

752 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