directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrtil, Benson" <bmyr...@charterschoolsusa.com>
Subject Re: Updating unicodePwd
Date Fri, 19 Jun 2015 12:23:48 GMT
I got this working but ended up having to use javax.naming.directory.InitialDirContext

On Jun 17, 2015, at 6:14 PM, Emmanuel Lécharny <elecharny@gmail.com<mailto:elecharny@gmail.com>>
wrote:

Le 17/06/15 19:57, Myrtil, Benson a écrit :
Very nice article. I been googling for 3 days now and didn’t find that one. However, I am
still getting the same issue. Below is how I am handling the password.

password = “FakePasswordTest”;
quotedPassword = '"' & password & '"';
bytePassword = quotedPassword.getBytes("UTF-16LE");
toBase64 = toBase64(bytePassword);

The joy of playing with AD :/

have you checked that :
http://stackoverflow.com/questions/6797955/how-do-i-resolve-will-not-perform-ms-ad-reply-when-trying-to-change-password-i


Good luck !



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message