[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: referrals and one level searches (ITS#818)



At 04:22 PM 10/12/00 +0000, markwhitehouse@home.com wrote:

>Just to clarify.  Are you saying, in the case of a one-level search that:
>  a) the client should chase referrals using one-level
>OR
>  b) the client should chase referrals using base

I am saying that unless an explicit scope is provided with in the
search continuation LDAP URI, the client should continue the
operation use a scope implied by the operation instead of the
default LDAP URI scope.

That is:
  If in response to a subtree search request the client
  receives a LDAP URI with no explicit scope, scope subtree
  should be used to continue the search.

  If in response to a one-level search request the client
  receives a LDAP URI with no explicit scope, scope base
  should be used to continue the search.

  If in response to a base search request the client receives
  a LDAP URI with no explicit scope, a scope base search should
  be used.

Note that the special handing (implied by the technical
specification) is actually on the subtree case as the default
LDAP URI scope is actually base.  [The current code uses a
default subtree for allow continuations which is clearly
inappropriate].

Additionally, if the continuation contains an explicit scope,
it should ALWAYS be used.

Kurt