Re: An unidentified error message!

2001-01-02 Thread Jan Dubois
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:

RE: An unidentified error message!

2001-01-02 Thread Gupta, Priyanka
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

RE: An unidentified error message!

2001-01-02 Thread Gary MacDonald
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

RE: An unidentified error message!

2001-01-02 Thread Gupta, Priyanka
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

Re: An unidentified error message!

2001-01-02 Thread Grant Hopwood
-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,

RE: An unidentified error message!

2001-01-02 Thread Gupta, Priyanka
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

RE: An unidentified error message!

2001-01-02 Thread Gary MacDonald
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

An unidentified error message!

2001-01-02 Thread Priyanka . Gupta
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

(no subject)

2001-01-02 Thread Gupta, Priyanka
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