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
Entry-Related Directives
110 Red Hat Directory Server Gateway Customization Guide • April 2005
Entry-Related Directives
Entry-related directives are supported by the dosearch and edit CGIs.
DS_ENTRYBEGIN
Delimits the beginning of an entry. The DS_ENTRYBEGIN directive is used in display or
edit templates to mark the start of an LDAP entry and in list templates to mark the
beginning of a section which should be repeated for each entry which is returned by the
search. Always paired with
DS_ENTRYEND.
Arguments
None.
DS_ENTRYEND
Delimits the end of an entry. Always paired with DS_ENTRYBEGIN.
Arguments
None.
DS_ATTRIBUTE
The DS_ATTRIBUTE directive is replaced with the contents of an attribute (its values).
This directive must appear within a
DS_ENTRYBEGIN...DS_ENTRYEND block.
Arguments
attr=attribute-name. Displays the named attribute. Any attribute may be displayed. The
special attribute
dn is recognized and causes the distinguished name of the entry to be
displayed.
syntax=syntax-type. Displays the attribute as if it were of
syntax=syntax-type. If no
syntax= argument is given, it is assumed to be syntax=cis. Legal values are described
in Table B-1.