Installation guide

Table Of Contents
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.