# File lib/omniauth/strategies/ldap/adaptor.rb, line 132 def search(options={}, &block) base = options[:base] filter = options[:filter] limit = options[:limit] args = { :base => @base, :filter => filter, :size => limit } puts args.inspect attributes = {} execute(:search, args) do |entry| entry.attribute_names.each do |name| attributes[name] = entry[name] end end attributes end