A SERVICE OF

logo

Chapter 6, Search Attributes, Filters, and Results 59
Changing Search Scope
Changing Search Scope
Search object entries in dsgwsearchprefs.conf define the search scope used in
searches for the corresponding object class. The default scope for gateway
search objects, subtree, specifies the baseurl and all its children.
The scope of a search object can be changed by editing the corresponding line
in dsgwsearchprefs.conf. Valid search scopes are shown in Table 6.1.
Modifying Search Attributes for Advanced
Searches
Each search object entry in dsgwsearchprefs.conf has a list of attributes that can
be modified for advanced searches.
Standard and Advanced Searches
An advanced search differs from a standard search in that users are provided
with a pull-down menu of search types. In the default gateway, the standard
search form is used to search on object classes defined for the gateway. The
advanced search form allows users to search object class attributes and to
specify matching patterns (Figure 6.1 shows the entry types that can be
selected, Figure 6.2 shows the specific attributes that can be searched on for
person entries, and Figure 6.3 shows the matching types that can be specified).
Table 6.1 Valid Search Scopes
Search Scope Tells the Gateway to
base Search the Directory Server for the entry specified in the baseurl
parameter but do not search in children of the entry.
onelevel Do not search in the entry specified in baseurl, but search in the
most immediate children of the entry.
subtree Search the entry specified in the baseurl parameter and all of it’s
children. This is the default setting.