# File lib/active_ldap/adapter/net_ldap.rb, line 64 def search(options={}, &block) super(options) do |base, scope, filter, attrs, limit, callback| args = { :base => base, :scope => scope, :filter => filter, :attributes => attrs, :size => limit, } execute(:search, args) do |entry| attributes = {} entry.original_attribute_names.each do |name| attributes[name] = entry[name] end callback.call([entry.dn, attributes], block) end end end