Unable to change AD password
The statement "objuser.ChangePassword strOldPassword, strNewPassword" causes the failure.
I can change the statement from objuser.ChangePassword to objuser.SetPassword and the users password gets changed.
When I run the program I get dialog with a run-time error of '-2147022651 (0x800708c5)';
"Automation error:
The password does not meet the password policy requirements, etc."
I found documentation of the ADSI and Win32 error codes. I found the error code in the lmerr.h file stating the password is too short. But its the same length as the old password.
I'm new to VB programming so not sure how to proceed. Any ideas where I can check for more information or any clues?
I did several searches here, MS KB and Google.
Thanks for any help you can provide,
kneese

