module ActiveLdap::Connection

def establish_connection(config=nil)

def establish_connection(config=nil)
  message =
    _("ActiveLdap::Connection#establish_connection has been deprecated " \
      "since 1.1.0. " \
      "Please use ActiveLdap::Connection#setup_connection instead.")
  ActiveLdap.deprecator.warn(message)
  setup_connection(config)
end