Sunday, June 13, 2010

User Creation with GUID in Active Directory

Follow the steps below:

Use ADSIEdit from the Active Directory Domain Controller
Go to CN=DirectoryService,CN=WindowsNT,CN=Services,CN=Configuration,DC=rootdomain,DC=com
Set the dsheuristics attribute to a value 0000000001100.
Save the value.

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