connection.rb 284 B

12345678910111213
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Unit::Ldap::Connection < Sequencer::Unit::Common::Provider::Fallback
  3. uses :ldap_config
  4. provides :ldap_connection
  5. private
  6. def ldap_connection
  7. ::Ldap.new(ldap_config)
  8. end
  9. end