If you worked with Active Directory and want/will switch to ADAM (Active Directory Application Mode), you should note one important fact:
ADAM does not support the userAccountControl property. Instead use one of the next individual properties to simulate it:


ms-DS-UserAccountAutoLocked
msDS-UserAccountDisabled
msDS-UserDontExpirePassword
ms-DS-UserEncryptedTextPasswordAllowed
msDS-UserPasswordExpired
ms-DS-UserPasswordNotRequired



Link to Microsoft documentation about this: http://msdn.microsoft.com/en-us/library/aa772124.aspx