A SERVICE OF

logo

Entry-Related Directives
98 Netscape Directory Server Gateway Customization Guide
"options=readonly" -->
<!-- DS_ATTRIBUTE "attr=mailDeliveryOption" "type=CHECKBOX"
"value=mailbox" -->
<!-- DS_ATTRIBUTE "attr=mailDeliveryOption" "type=CHECKBOX"
"value=native" -->
<!-- DS_ATTRIBUTE "attr=mailForwardingAddress" "syntax=mail"
"type=textarea" "rows=2" "cols=30" -->
DS_OBJECTCLASS
Description
Describes the type of directory entries a given template should be used for.
Arguments
value=value1,value2,...valueN. specifies a list of objectclass values. In order
for a template file to be used todisplay a given entry, all of the values given
must be values in the entry’s objectclass attribute.
Note: the gateway does not read the template files to determine which template
to use. Instead, it reads the dsgw.conf file and scans the "template" lines in that
file. You can generate a series of template lines, suitable for inclusion in the
dsgw.conf file, by opening the URL http://host/ds/templateindex, where "host"
is the name of the host running the directory server gateway. The
templateindex CGI program will scan all the Gateway template files and read
the DS_OBJECTCLASS attributes, and then will generate a series of "template"
lines.
Example
<!-- DS_OBJECTCLASS "value=person,inetOrgPerson" -->
DS_VIEW_SWITCHER
Description
Display a widget that provides access to all views that are appropriate for this
entry (Not supported in DS 1.0). Usually this directive will be used without any
arguments at all, which causes a table that contains one cell for each available
view to be displayed.