class GitHub::Ldap::ReferralChaser

This class adds referral chasing capability to a GitHub::Ldap connection.

See: technet.microsoft.com/en-us/library/cc978014.aspx

http://www.umich.edu/~dirsvcs/ldap/doc/other/ldap-ref.html

Attributes

admin_password[R]
admin_user[R]
connection[R]
port[R]

Public Class Methods

new(connection) click to toggle source

Public - Creates a ReferralChaser that decorates an instance of GitHub::Ldap with additional functionality to the search method, allowing it to chase any referral entries and aggregate the results into a single response.

connection - The instance of GitHub::Ldap to use for searching. Will use the connection's authentication, (admin_user and admin_password) as credentials for connecting to referred domain controllers.

# File lib/github/ldap/referral_chaser.rb, line 18
def initialize(connection)
  @connection = connection
  @admin_user = connection.admin_user
  @admin_password = connection.admin_password
  @port = connection.port
end

Public Instance Methods