# File lib/active_ldap/adapter/base.rb, line 27
      def connect(options={})
        host = options[:host] || @host
        port = options[:port] || @port
        method = ensure_method(options[:method] || @method)
        @disconnected = false
        @connection = yield(host, port, method)
        prepare_connection(options)
        bind(options)
      end