Solved

NT Username/Password (Validating!)

Posted on 1998-11-07
4
280 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
ID: 1443773
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
ID: 1443774
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
ID: 1443775
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
ID: 1443776
Bought This Question.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

832 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