Authenticating passwords through applications 
Author Message
 Authenticating passwords through applications

I've built a little Powerbuilder application that can pull the user id
from the network.  It uses this function:

FUNCTION boolean GetUserNameA(ref string uname, ref ulong slength)  &
LIBRARY "ADVAPI32.DLL"

It also let's the user enter a string, and it verifies that the string
is the user's network password.  That's done with this:

FUNCTION long WNetVerifyPasswordA(string lpszPassword, ref boolean
pfMatch)  &
LIBRARY "MPR.DLL"

The problem we're having is that the WNetVerifyPasswordA() works just
fine for people with Win95 or Win98 machines, but it won't work on NT
machines.  Does anyone know a similar password-verifying function that
will run on NT machines?  Also what DLL is it located in?

Thank you,

Jeff

Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.



Mon, 21 Jan 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Authenticating a user name and password

2. Authenticating a user/password combo using ADSI

3. Authenticating a user/password combo using ADSI

4. Authenticate an NT user from VB (domain/name/password)

5. Authenticating NT User Name and Password within VB

6. How to get authenticated UserID and password

7. Authenticate NT Username and Password

8. Authenticate NT User and Password from VB

9. Authenticating a username/password (UserLogon?)

10. How to handle application Login ID/Password (storage)?

11. How to change Access-password from VB-application ???

12. changing password in an application

 

 
Powered by phpBB® Forum Software