Understanding the LDAP Binding Component

Searching the LDAP Directory

You can search for an entry or multiple entries of the LDAP directory. The LDAP BC supports the following search attributes:

You can search for an attribute among many LDAP servers by using the search referral attribute to set up an LDAP referral to another LDAP server. This means after the search fails to locate the search string on one server, it automatically searches over the referred server. Use the RCF command line utility to generate the credential file that contains the appropriate referral credentials. Search referral supports the following attributes:

You can use any of the following LDAP search methods:

OBJECT_SCOPE Search Method

The OBJECT_SCOPE method defines the search method only within the named object that is defined with ContextName. The object scope compares the named object for some particular attribute or value.

Object Scope

ONELEVEL_SCOPE Search Method

The ONELEVEL_SCOPE method defines the search method for entries that are one level below the named object.

One Level Scope

SUBTREE_SCOPE Search Method

The SUBTREE_SCOPE method defines the search method for all entries starting from the named object and all descendants below the named object.

SubTree scope