[mplspm]: WinNT - testing to see if a users ID and password are correct

John Sundberg john.sundberg at kineticdata.com
Fri Dec 21 15:26:21 CST 2001


All,

I am working on a pet project. I would like to write some perl code to
validate a persons userid/password. I would like to validate the
userid/password against Windows NT.

So if they log into windows like:
Domain: MYDOMAIN
UserId: myname
Password: mypassword

I would like to end up with something like:

$result = isValidNTUser("MYDOMAIN","myname","mypassword");

Any ideas - even if it isnt in perl that would be fine.


-John

-- 
John Sundberg
Kinetic Data, Inc.
404 Snelling Ave. S.
St. Paul, MN 55105
w: 651 695 8566
c: 612 325 8637
email: john.sundberg at kineticdata.com
web: www.kineticdata.com



--------------------------------------------------
Minneapolis Perl Mongers mailing list

To unsubscribe, send mail to majordomo at pm.org
with "unsubscribe mpls" in the body of the message.



More information about the Mpls-pm mailing list