code: def get_all_knoreq_user_objects(self, include_machine = False):
  		
  		logger.debug('Polling AD for all user objects, machine accounts included: %s'% include_machine)
  		if include_machine == True:
  			ldap_filter = r'(userAccountControl:1.2.840.113556.1.4.803:=4194304)'
  		else:
  			ldap_filter = r'(&(userAccountControl:1.2.840.113556.1.4.803:=4194304)(!(sAMAccountName = *$)))'
  
  		attributes = MSADUser.ATTRS
  		for entry in self.pagedsearch(ldap_filter, attributes):
  			# TODO: return ldapuser object
  			yield MSADUser.from_ldap(entry, self._ldapinfo)
  		logger.debug('Finished polling for entries!')
docs: Fetches all user objects with useraccountcontrol DONT_REQ_PREAUTH flag set from the AD, and returns MSADUser object.