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

Object Class Attributes in Template Files
Chapter 5 Editing Entry Types 59
UID-Based DN
When a person or Windows person entry is added to the directory, the gateway prompts for
a unique DN. The unique DN is typically the user ID of a person in the organization.
Although DN formats can be based on the common names of employees in the
organization, common names are frequently not unique within an organization.
Modifying the Default DN Format
The default DN format can be modified by editing the rdnattr variable within the
newtype parameter.
To change the gateway configuration so that person entries are created using common
name-based DNs rather than user ID-based DNs, edit the following line in the
dsgw.conf
file:
newtype orgperson “Person” uid people special
to read as follows:
newtype orgperson “Person” cn people special
Object Class Attributes in Template Files
The following sections describe the object classes and attributes contained by the template
files:
• Default Gateway Object Classes
• Templates and Directives
• Adding Attributes to Object Classes
• Deleting Attributes from Object Classes
• Extending Object Classes
• Creating a New Parent Object Class
NOTE UID-based DN formats are recommended because they are by nature
unique and can prevent naming collisions within the directory.