Solved

Gina dll, profile type in WlxLoggedOutSAS

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

717 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