The password was blank, which is why I am setting it to another value. Using Win32::Lanman::NetUserChangePassword allowed me to pass a blank password ("") and change it.
Regards,
Christopher Rosen, MCSA, MCSE Windows 2000
IBM SWG/Tivoli Systems
IT Lab Services
[EMAIL PROTECTED]
919-224-2226 Office
800-759-8888 Pin #1087742 Pager
http://swgsupport.raleigh.ibm.com
| "Administrador" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 02/11/2004 08:34 AM |
To: "active perl" <[EMAIL PROTECTED]> cc: Subject: Re: Win32::NetAdmin::UserChangePassword |
is for cheking the user is the user. if it wasent so,
every body can change your password.
and that is not good.
----- Original Message -----
From: "Christopher Rosen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 2:51 PM
Subject: Win32::NetAdmin::UserChangePassword
>
> Win32::NetAdmin::UserChangePassword(hostname, user, oldpassword,
> newpassword)
>
> I can use this command successfully to change passwords, but it does not
> work if the oldpassword is blank. I'm trying to use $oldpassword = "";,
> but this is not working.
>
> Regards,
>
> Christopher Rosen, MCSA, MCSE Windows 2000
> IBM SWG/Tivoli Systems
> IT Lab Services
> [EMAIL PROTECTED]
> 919-224-2226 Office
> 800-759-8888 Pin #1087742 Pager
>
> http://swgsupport.raleigh.ibm.com
>
>
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
