Solved

NT Username/Password (Validating!)

Posted on 1998-11-07
4
256 Views
Last Modified: 2010-04-30
What I am looking for is a way for an application on NT to be able to verify a username/password against a PDCs ACL.  Preferably straight forward API/code.  The application must NOT have to have "special privaledges", i.e. I don't have to give it "act as part of operating system" or anything like that.  Running while logged in as a Adminstrator or Domain Administrator should be sufficient.  As well, it CANNOT rely on an outside source for validation (i.e. testing of success/failure for mapping of network drive, etc.)  If Testing against a PDC is not possible, how about testing against the server that it is currently running on's ACL.  THANKS!!!  
0
Comment
Question by:decypher
4 Comments
 
LVL 9

Expert Comment

by:david_levine
Comment Utility
Check out the following Microsoft Knowledgebase article:
http://support.microsoft.com/support/kb/articles/q180/5/48.asp

Though it's really for VC++, it discusses what needs to be done. You didn't mention your client app OS, but the article mentions that if you need to run under Win95, you need to utilize the Security Support Provider Interface.

Couldn't find anything specific to VB though. Checked DejaNews and found lots of people looking to do the same thing, but no real answer.

Good luck!
0
 

Author Comment

by:decypher
Comment Utility
The client side OS will be NT.  As this is for remote functionality, 95/98/NT wks. only need to pass encypted info to the daemon, and it will do the authentication.  Will read over what microsoft has to say and get back to ya.
0
 

Accepted Solution

by:
jcstrider earned 70 total points
Comment Utility
Check out http://www.netfokus.dk/vbadmincode/ and look at the user samples. They have a bunch of code. Most use either the advapi or netapi32
0
 
LVL 13

Expert Comment

by:Mirkwood
Comment Utility
Bought This Question.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 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

11 Experts available now in Live!

Get 1:1 Help Now