There is something else you are missing that AD requires in addition to the SSL - it is very finicky about setting the password, and I've seen many times where create-user succeeds but setting the password fails.

Are you properly encoding the password attribute? UTF-16 and quoted?

Here's a good article to reference I just googled:

http://www.dirmgr.com/blog/2010/8/26/ldap-password-changes-in-active-directory.html

Hope this helps...

R-Richard

Myrtil, Benson <mailto:[email protected]>
June 17, 2015 at 12:57 PM
Does any one have any working code of updating the unicodePwd.

connectionConfig.setLdapHost( server );
connectionConfig.setLdapPort( 636 );
connectionConfig.setName( username );
connectionConfig.setCredentials( password );
connectionConfig.setUseSsl( 1 );
connectionConfig.setSslProtocol( "SSLv3" );

I can bind just fine and create an account but when i try to update the password I get the follow error:

Messages: 0000001F: SvcErr: DSID-031A12D2, problem 5003 (WILL_NOT_PERFORM), data 0

Im pretty sure the password encoding is correct because i took an example straight from the Tech Microsoft site. Any ideas?

Reply via email to