[mplspm]: WinNT - testing to see if a users ID and password are
correct
John Sundberg
john.sundberg at kineticdata.com
Fri Dec 21 16:53:08 CST 2001
Looks good - I got it working on Linux - but I really want it on NT.
How do people get stuff compiled on NT if they dont have a make or
compiler? I poked around for some binaries - but didnt find them.
perl Makefile.pl - worked which generated a nice makefile - but useless
to me.
For people who do do this (I said "do do" - makes me laugh) - what kind
of compiler do you use?
-John
On Fri, 2001-12-21 at 15:24, Thomas Eibner wrote:
> On Fri, Dec 21, 2001 at 03:26:21PM -0600, John Sundberg wrote:
> > 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.
>
> Authen::Smb might be what you're looking for.
>
> http://search.cpan.org/doc/PMKANE/Authen-Smb-0.91/Smb.pm
>
> --
> Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/>
> mod_pointer <http://stderr.net/mod_pointer>
>
>
>
> --------------------------------------------------
> Minneapolis Perl Mongers mailing list
>
> To unsubscribe, send mail to majordomo at pm.org
> with "unsubscribe mpls" in the body of the message.
>
--
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