We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50af684 commit c2cdb52Copy full SHA for c2cdb52
lib/github/ldap/forest_search.rb
@@ -1,8 +1,14 @@
1
+require 'github/ldap/instrumentation'
2
+
3
module GitHub
4
class Ldap
5
+ # For ActiveDirectory environments that have a forest with multiple domain controllers,
6
+ # this strategy class allows for entry searches across all domains in that forest.
7
class ForestSearch
8
+ include Instrumentation
9
- def initialize(connection)
10
+ def initialize(connection, naming_context)
11
+ @naming_context = naming_context
12
@connection = connection
13
@forest = get_domain_forest
14
end
@@ -26,7 +32,7 @@ def search(options, &block)
26
32
27
33
private
28
34
29
- attr_reader :connection
35
+ attr_reader :connection, :naming_context
30
36
31
37
# Internal: Queries configuration for available domains
38
#
0 commit comments