Installation guide
Table Of Contents
- Gateway Customization Guide
- Contents
- Preface
- Introduction
- Setting Up the Gateway
- Gateway Installation Planning
- HTTP Server Configuration
- Creating a New Gateway Instance
- Gateway .conf File Configuration
- Configuring Gateway Clients
- Gateway Localization
- File Controlling Gateway Functionality
- Editing Entry Types
- Search Attributes, Filters, and Results
- Customizing Graphics and Color
- Parameters Defined in the .conf File
- Gateway Directives
- Introduction
- Context-Related Directives
- Entry-Related Directives
- DS_ENTRYBEGIN
- DS_ENTRYEND
- DS_ATTRIBUTE
- DS_OBJECTCLASS
- DS_VIEW_SWITCHER
- DS_SORTENTRIES
- DS_SEARCHDESC
- DS_POSTEDVALUE
- DS_EDITBUTTON
- DS_DELETEBUTTON
- DS_SAVEBUTTON
- DS_EDITASBUTTON
- DS_NEWPASSWORD
- DS_CONFIRM_NEWPASSWORD
- DS_OLDPASSWORD
- DS_HELPBUTTON
- DS_CLOSEBUTTON
- DS_BEGIN_ENTRYFORM
- DS_END_ENTRYFORM
- DS_EMIT_BASE_HREF
- DS_DNEDITBUTTON
- DS_BEGIN_DNSEARCHFORM
- DS_ATTRVAL_SET
- IF/ ELSE/ ELIF/ ENDIF
- Miscellaneous Directives
- CGI Usage
- Index
- List of Tables

Changing Search Scope
68 Red Hat Directory Server Gateway Customization Guide • April 2005
• The label of the search attribute as it is displayed in the Find drop-down list on the
Search form .
• The object class attribute to search on.
• Match types to use in search results.
dsgwfilter.conf
The dsgwfilter.conf file contains an entry for each search object defined in
dsgwsearchprefs.conf. Each entry defines the following:
• Pattern for which to search.
• Delimiters for the search pattern.
• LDAP filter for generating search results.
• Text to use in describing search results for the pattern.
• Scope of the search (not required).
The name of the search filter entry for a search object is identified in
dsgwsearchprefs.conf.
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.
NOTE Define new search preferences in
dsgwsearchprefs.conf whenever a
new object class with searchable attributes is added to the gateway.
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 not to search in children of the entry.