# File lib/omniauth/strategies/ldap/adaptor.rb, line 127
        def search(options={}, &block)
          base = options[:base] || @base
          filter = options[:filter]
          limit = options[:limit]

          args = {
            :base => base,
            :filter => filter,
            :size => limit
          }

          attributes = {}
          execute(:search, args) do |entry|
            entry.attribute_names.each do |name|
              attributes[name] = entry[name]
            end
          end
          attributes
        end