'These parameters are the same as the first three parameters to
ldap.search_s.'

def __init__(self, base_dn, scope, filterstr=u'(objectClass=*)'):

    self.base_dn = base_dn
    self.scope = scope
    self.filterstr = filterstr
    self.ldap = _LDAPConfig.get_ldap()
