On Tue, 02 Jan 2001 15:27:04 -0700, Gary MacDonald
<[EMAIL PROTECTED]> wrote:
>OK ... so under Win32, $^E and Win32::GetLastError() often report the same
>information.
They should *always* report the same information.
$^E is a magical variable. In numeric context it returns the value of
Win32:
Thank you so much. The code runs perfect I suppose there was a problem with
the quotes. I was using the double quotes! May be this was it! Once again
thanks a lot for the help.
Priyanka
> -Original Message-
> From: Gary MacDonald [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 02, 200
Title: RE: An unidentified error message!
OK ... so under Win32, $^E and Win32::GetLastError() often report the same information.
Under what operating system are you running this code? What version of Perl?
Please run this small script (after making appropriate substitutions for DOMAIN, f
Thanks for that...I thought may be the empty space is for the 'old password'
! anyway even after making the corrections it doesn't change, I mean the
error messages are still the same...also, with
Win32::AdminMisc::UserCheckPassword( "", $userid,$password) I get an unknown
error message: "Failed:U
-start-
> [EMAIL PROTECTED]
>at01/02/2001 02:25 PM
>Actually i'm working on this code... which provides the user with admin
>privileges to be able to change the NT password for some other user
account.
>Now for this i started off with the Win32::AdminMisc SetPassword($domain,
>$loginname,
May be this is an unidentified error code so I'm not able to print anything!
Priyanka
> -Original Message-
> From: Gary MacDonald [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 02, 2001 3:31 PM
> To: 'Gupta, Priyanka'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: An unidentified
Title: RE: An unidentified error message!
Use
print Win32::FormatMessage(Win32::GetLastError());
instead of
print "$^E";
Gary W. MacDonald
-Original Message-
From: Gupta, Priyanka [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 02, 2001 1:00 PM
To: '[EMAIL
Hi everyone
I'm pretty new to this mailing list and to Active State Perl too!!!
I'm sort of stuck up with something that seemed quite easy in the beginning.
Actually i'm working on this code... which provides the user with admin
privileges to be able to change the NT password for some other
Hi everyone
I'm pretty new to this mailing list and to Active State Perl too!!!
I'm sort of stuck up with something that seemed quite easy in the beginning.
Actually i'm working on this code... which provides the user with admin
privileges to be able to change the NT password for some other