I try to set the user password like this:
user.Invoke("SetPassword", password);
But I get an exception
The server is unwilling to process the request. (Exception from HRESULT: 0x80072035)
0000052D: SvcErr: DSID-031A129B, problem 5003 (WILL_NOT_PERFORM), data 0
Sounds familiar to someone?
52D is the error code and thanks to the LDAP Wiki page, the problem was the password complexity restriction -> solution: a stronger password.
User contributions licensed under CC BY-SA 3.0