19 lines
372 B
Ruby
19 lines
372 B
Ruby
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
class Sequencer
|
|
class Unit
|
|
module Ldap
|
|
class Connection < Sequencer::Unit::Common::Provider::Fallback
|
|
|
|
uses :ldap_config
|
|
provides :ldap_connection
|
|
|
|
private
|
|
|
|
def ldap_connection
|
|
::Ldap.new(ldap_config)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|