Installation guide

Table Of Contents
Object Class Templates
52 Red Hat Directory Server Gateway Customization Guide • April 2005
Object Class Templates
The gateway contains a template file for each object class defined in the gateway. To
modify how the gateway displays an entry type, edit the corresponding template file. To
add gateway support for a new object class, create a new template file, or modify an
existing one.
Modifying template files is discussed in Chapter 5, “Editing Entry Types.”
Default gateway object class templates stored in the
serverRoot/clients/dsgw/config
directory are listed in Table 4-2.
Gateway Script Files
Script files are used to generate HTML forms dynamically for the user, based on
information supplied by the user and information retrieved from the Directory Server.
Script files contain directives the gateway uses to construct the HTML for a page.
Script files can be modified to change the appearance of text that appears in fields,
buttons, and prompts on gateway forms.
Script files used to modify the information provided on gateway forms are stored in the
serverRoot/clients/dsgw/config directory and are identified in Table 4-3.
Table 4-2 Default Template Files and Related Object Classes
Template File Related Object Class
display-dc.html domain
display-country.html country
display-group.html groupOfNames
display-groupun.html groupOfUniqueNames
display-ntgroup.html ntGroup
display-ntperson.html ntUser
display-org.html organization
display-orgperperson.html inetOrgPerson
display-orgunit.html organizationalUnit
display-person.html person