The specified network password is not correct.

Dec 31, 2015 at 9:05 PM
I am attempting to use this utility to change a password and I get the following error:

The password change operation failed with the following message: The specified network password is not correct. (Exception from HRESULT: 0x80070056)

Some things to note:
• I am targeting a specific domain and have modified the code as described here:

Specifically this line was updated in the homecontroller.cs file:
 var principalContext = new PrincipalContext(ContextType.Domain, "myotherdomain.pvt");
• The machine that the code is running on is in a different domain than the target domain.
• There is a one way trust relationship between the domains ie: the target domain trusts the domain that the application is running in.
• The service account that the application is running as has domain administrator privileges in the other domain (this is not intentional, while testing this application I am running it on my workstation as myself).
• There are no firewalls between the domains, and everything is reachable with DNS.

Any ideas on how I can get this to work?