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
58 Red Hat Directory Server Gateway Customization Guide • April 2005
In the example, locations defined in the newtype parameter (such as country, org, or
groups) correspond to handles defined in the location parameter. The friendly names
(in quotes) in the third column indicate the choices that will appear in pull-down menus on
gateway forms.
See “Entry Types (Object Classes),” on page 55, for more information.
Setting Up Organizational Units
Assuming that the root DN is set to o=example.com, the mappings in the following
example can be used to create people in the following organizational units:
ou=Accounting, o=example.com
ou=Human Resources, o=example.com
ou=Payroll, o=example.com
ou=Product Development, o=example.com
ou=Product Testing, o=example.com
Configuring DN Formats for Entry Types
The following sections describe how to configure entry type DNs depending upon the
format.
location
location
location
location
location
location
location
location
country
org
groups
acct
hr
pay
pd
test
"United States"
"This Organization"
"Organizational Groups"
"Accounting"
"Human Resources"
"Payroll"
"Product Development"
"Product Testing"
"c=US#"
""
"ou=Groups"
"ou=Accounting"
"ou=Human Resources"
"ou=Payroll"
"ou=Product Development"
"ou=Product Testing"
newtype
newtype
newtype
newtype
newtype
orgperson
NTperson
groupun
orgunit
org
"Person"
"NT Person"
"Group"
"Organizational Unit"
"Organization"
cn acct hr pay pd test
cn acct hr pay pd test
cn groups
ou org
o country
NOTE Location parameter definitions in dsgw.conf must be listed before
newtype parameter definitions.