Skip to main content

LDAP Search Base

The LDAP Search Base value is typically the directory, relative to the LDAP base directory, under which you store all Code Insight objects on the LDAP server. For example, based on the example DIT in Figure 2-1, the LDAP Search Base value might be the following, which searches for Code Insight objects belonging only to the “usa” organizational unit under the LDAP base:

OU=usa 

LDAP internally identifies the Distinguished Name, or DN, for the LDAP search base as the LDAP Base + LDAP Search Base value. In this example, LDAP recognizes the DN for the search base as OU=usa,DC=acme,DC=com.

As another example, to search for all Code Insight objects in the “usa”, “europe”, and “sales” organizational units, you would leave the LDAP Search Base field blank so that your search base defaults to the LDAP Base directory. In this case, LDAP recognizes the search base as DC=acme,DC=com.

If you leave this field blank, the search is performed at the LDAP base level.