how to set lockoutTime and password of a user of Active Directory
问题 I want to change the userAccountControl and password of the AD user. User is already created in AD. The user is created with python-ldap module in AD and is in 'Disabled' state and with no password. AD is hosted on win2k8R2. When I change the uac and password with the pythion-ldap script it throws below error: ldap://192.168.254.1:389 (97, []) Traceback (most recent call last): File "C:\workspace\utils\src\u.py", line 16, in <module> l.modify_s(dn, mod_attrs) File "C:\Python26\lib\site