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
Miscellaneous Directives
124 Red Hat Directory Server Gateway Customization Guide • April 2005
Arguments
filename. The name of the file to include. This is relative to the config/ directory where
files such as
dsgw.conf are located.
Example
<!-- INCLUDE dsgw-orgperson.conf -->
DS_LAST_OP_INFO
Display a string that shows the result of the last domodify run. This directive works only
when the
genscreen or edit CGIs are invoked via domodify’s
completion_javascript feature.
Arguments
prefix=prefix-text. Text displayed before the last operation info.
suffix=suffix-text. Text displayed after the last operation info.
Example
<!-- DS_LAST_OP_INFO "prefix=<P><FONT SIZE=%2B1>The user "
"suffix=</FONT>" -->
DS_LOCATIONPOPUP
Emit an HTML form element that contains a list of all the o's and ou's that are in the
directory. If there is only one, a hidden field is produced; otherwise, an HTML select field
is produced.
Arguments
name=varname. The name of the form element that is emitted.
prefix=select_prefix. Text that is output before a select element.
suffix=select_prefix. Text output after a select element.
Example
<!-- DS_LOCATIONPOPUP "name=base" "prefix=Choose a searchbase" -->