Hi everyone,
how do you change the NT domain password for a user?
use Win32::AdminMisc;
if (Win32::AdminMisc::UserChangePassword("domainname",
"user1",
"oldpassword",
"newpassword"){
print "Password successfully changed\n";
}else{
print "Password failed to change.\n";
}
I tried the above but I just keep getting the password can not be changed.
thanks
how do you change the NT domain password for a user?
use Win32::AdminMisc;
if (Win32::AdminMisc::UserChangePassword("domainname",
"user1",
"oldpassword",
"newpassword"){
print "Password successfully changed\n";
}else{
print "Password failed to change.\n";
}
I tried the above but I just keep getting the password can not be changed.
thanks