Hello, I am using Windows NT server 4.0 with IIS 4.0 and the latest version
of ActivePerl.  I'm having a few problems with
Win32::AdminMisc::LogonAsUser().

I am attempting to log on users to the NT server with this function via a
CGI form.  But when I try to use the script I've written, the function keeps
returning 0, as in a failure. (It's a simple test script, nothing complex
about it).  In any case, I've tried to get the function to work, to see what
the problem is, and I've even used string constants for the arguments, but
it keeps returning 0 no matter what.  Here is the line of code:

print Win32::AdminMisc::LogonAsUser("", "UserName", "password") ;

I know the module is working properly, because I've used several other
functions with it, but that one in particular just refuses to return a 1.
Could someone please help me or offer me a suggestion?  Thank you.

Michael Nguyen
VSE Corporation
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to