Skip to content

Commit 8d87be1

Browse files
committed
Pass instrumentation_service to Net::LDAP
1 parent 744b141 commit 8d87be1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/github/ldap.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ class Ldap
2828
def initialize(options = {})
2929
@uid = options[:uid] || "sAMAccountName"
3030

31-
@connection = Net::LDAP.new({host: options[:host], port: options[:port]})
31+
@connection = Net::LDAP.new({
32+
host: options[:host],
33+
port: options[:port],
34+
instrumentation_service: options[:instrumentation_service]
35+
})
3236

3337
if options[:admin_user] && options[:admin_password]
3438
@connection.authenticate(options[:admin_user], options[:admin_password])

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy