Definition -- LDAP Search Scope

Definition: LDAP Search Scope

The LDAP search scope indicates the set of entries at or below the search base DN that may be considered potential matches for a search operation.

There are four defined search scope values:

baseObject

This specifies that the search operation should only be performed against the entry specified as the search base DN. No entries below it will be considered.

A sample DIT illustrating the baseObject scope with a search base DN of "dc=example,dc=com" is given below:

singleLevel

This specifies that the search operation should only be performed against entries that are immediate subordinates of the entry specified as the search base DN. The base entry itself is not included, nor are any entries below the immediate subordinates of the search base entry.

A sample DIT illustrating the singleLevel scope with a search base DN of "dc=example,dc=com" is given below:

wholeSubtree

This specifies that the search operation should be performed against the entry specified as the search base and all of its subordinates to any depth.

A sample DIT illustrating the wholeSubtree scope with a search base DN of "dc=example,dc=com" is given below:

subordinateSubtree

This specifies that the search operation should be performed against all subordinate entries below the search base to any depth, but the search base entry itself should not be included.

A sample DIT illustrating the subordinateSubtree scope with a search base DN of "dc=example,dc=com" is given below:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact