Installation guide

Table Of Contents
67
Chapter 6
Search Attributes, Filters, and Results
This chapter describes the files that control how the gateway searches for objects and
describes how to add search support for a new object. The chapter contains the following
sections:
Search Configuration Files (page 67)
Changing Search Scope (page 68)
Modifying Search Attributes for Advanced Searches (page 69)
Adding Search Support for a New Object (page 74)
Modifying Default Search Filters (page 76)
Customizing Search Result Templates (page 78)
Search Configuration Files
The dsgwsearchprefs.conf and dsgwfilter.conf files are the search configuration
files that control the gateway’s search functionality. These files are stored in the gateway’s
template directory (
/config for the default gateway).
dsgwsearchprefs.conf
The dsgwsearchprefs.conf file specifies the preferences for searching object classes
defined in the gateway. Each entry contains:
The scope of the search within the Directory Server.
The search filter to append to the search string (corresponding to the search filter entry
defined in
dsgwfilter.conf).