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

Mapping Locations and Entry Types
Chapter 5 Editing Entry Types 57
Considerations for Adding New Entry Types
Before adding support for a new entry type (object class), decide:
• Where will the new entry be created?
If a
location parameter is not set up to point to the location where the new entry type
will be created, add a new
location parameter to the dsgw.conf file.
• How will the new entry be formatted?
When the new object class has many attributes in common with an existing entry type,
update the corresponding template line in
dsgw.conf to support the new object class.
When a new object class requires a new template, add a new
template parameter to
dsgw.conf.
The
newtype and location parameters are described in Appendix A, “Parameters
Defined in the .conf File.”
Mapping Locations and Entry Types
The location parameter is used to define points in the directory tree where new entries
can be added. The default locations defined in
dsgw.conf are intended for the sample
directory shipped with the Directory Server. They are unlikely to match the structure of the
actual directory.
This section explains the following:
• Mapping Entry Types to Locations
• Configuring DN Formats for Entry Types
Mapping Entry Types to Locations
Each entry type must be mapped to a location where that type of entry can be placed. The
following example shows a mapping of locations and newtype parameters in
dsgw.conf:
NOTE For simple directory structures, define locations that represent branch
points in the directory. For complex structures, define branch points for
the most commonly used directory branches only.