title: Enable Active Directory user account using ldap python
body: <p>I am using ldap module in python to add user to Microsoft 2012 Active Directory. As I am successfully able to add user to the AD, user gets added with next logon and account as disabled options ticked. I tried lot of option to enable the account but not able to do so. Tried option of enabling account while creating user  but that doesn't work too. Tried modify function but still no luck. Could anyone suggest a detour for the above problem? Thanks in advance </p>