Solved

NT Username/Password (Validating!)

Posted on 1998-11-07
4
300 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
[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
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

733 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