import wmi
oWMI = wmi.WMI(namespace='directory\\ldap')
ADUsers = oWMI.query('select ds_name from ds_user')
Is there any preferable way to get user/group information from an Active Directory domain in Python?