<!ELEMENT search-root EMPTY>
Parent: <view>
A Repository View’s contents can be restricted to a location or set of locations within the directory tree. For example, you might want to specify that the engineer
view contains only entries in the ou=Engineering,o=company.com
branch of the directory tree. Even if other items that satisfy the engineer
item descriptor are encountered somewhere in the LDAP directory (perhaps for testing purposes), they are not considered to be part of the engineer
view. The tree branches that comprise a Repository View are called search roots, as they determine which parts of the directory tree are searched when a repository query is constructed on the view. The <search-root>
tag is a child tag of the <view>
tag that limits the Repository View to the specified roots of the LDAP directory tree.
When a query is performed on the view, only those items that reside in one of the specified search roots and satisfy the view’s item descriptor are returned. At least one search root must always be specified, but it may well point to the directory suffix (i.e., the search root may span the entire directory tree). See the Repository Views in the LDAP Repository section of this chapter.
Attributes
Attribute | Description |
---|---|
| Required, the distinguished name (DN) of directory branches that can be part of the Repository View |
| Boolean, specifies whether the directory tree branch specified by the Default: |
| Boolean. If set to If set to Default: |