Monday, February 22, 2010

Active Directory Password

When you are creating an entry with password or updating the password of an entry in Active directory

* You should be connected in SSL
* You should specify the password attribute "unicodepwd" in the "16 bit Big Endian base64 encoded format.

One way to generate the password is,
echo -n "\"password\" |iconv -f UTF8 -t UTF16LE | base64 -w 0

No comments:

Post a Comment