code: def get_ad_info(self):
  		
  		logger.debug('Polling AD for basic info')
  		ldap_filter = r'(distinguishedName=%s)' % self._tree
  		attributes = MSADInfo.ATTRS
  		for entry in self.pagedsearch(ldap_filter, attributes):
  			self._ldapinfo = MSADInfo.from_ldap(entry)
  			return self._ldapinfo
  
  		logger.debug('Poll finished!')
docs: Polls for basic AD information (needed for determine password usage characteristics!)