I am trying to use the AdminMisc from Roth's site and I'm having problems.  I am 
running ActiveState 5.8.3/809.  I have downloaded and installed AdminMisc 5008 from 
Roth's site and installed it using PPM.  When I try to run

#!/usr/bin/perl 

use Win32::AdminMisc;
if (Win32::AdminMisc::LogonAsUser("""", "test2", "test", "LOGON32_LOGON_BATCH ")){
        print "Successfully impersonating \n";}
        else{
        print "Not impersonating\n";}


the drive spins for about 5 minutes then Windows throws a "low virtual memory" message 
and Perl dies.  What am I doing wrong??

Any thoughts or suggestions would be appreciated. 




_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to