# File lib/active_ldap/adapter/jndi_connection.rb, line 6
  def each
    while has_more_elements
      yield(next_element)
    end
  end