lib/wobaduser/ldap.rb
def search(options = {})
      reset_errors
      options.symbolize_keys!
      begin
	result = connection.search(options)
	add_error(operation_error)
      rescue => e
	result = []
	add_error(e.message)
      end
      result
    end
# execute ldap search operation
#
# for possible ldap options see Net::LDAP#search
#
execute ldap search operation
for possible ldap options see Net::LDAP#search
execute ldap search operation for possible ldap options see Net :: LDAP#search
def search(options = {})
      reset_errors
      options.symbolize_keys!
      begin
	result = connection.search(options)
	add_error(operation_error)
      rescue => e
	result = []
	add_error(e.message)
      end
      result
    end
def search ( options = { } ) reset_errors options . symbolize_keys! begin result = connection . search ( options ) add_error ( operation_error ) rescue => e result = [ ] add_error ( e . message ) end result end
execute ldap search operation
for possible ldap options see Net::LDAP#search
execute ldap search operation for possible ldap options see Net :: LDAP#search
options