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
Gateway .conf File Configuration
Chapter 2 Setting Up the Gateway 37
7. To access the new gateway instance (in this example, example.conf) navigate the
browser to this URL:
http://adminHost:adminPort/clients/dsgw/bin/lang?context=example
Gateway Cloning
The HTML and template directories for one gateway can serve as the HTML and template
directory for many others. Maintaining the functionality of multiple gateways in centralized
/config and /html directories is useful when the only values that are likely to change are
parameter settings in the
.conf file, such as the host and port specified by the baseurl
parameter, the root DN specified by the
dirmgr parameter, and the root suffix specified by
the
location-suffix parameter.
Gateway .conf File Configuration
The following sections describe the steps for configuring the gateway .conf file:
• Changing the Default Port Setting
• Setting Up a Directory Manager for the Gateway
• Setting Up the Suffix for Adding Entries
• Setting Up SSL Support
• Setting vCard Properties
Changing the Default Port Setting
The LDAP port is set during Directory Server installation. This value can be changed in the
baseurl parameter. The following example shows the syntax used to specify a port
number that is different than the default port number of 389. For example, the
baseurl
parameter in the LDAP port is changed to the following:
baseurl “ldaps://dirserver.example.com:3000/o%3Dexample.com”
Setting Up a Directory Manager for the Gateway
When Directory Server is installed, a default Directory Manager account (cn=Directory
Manager
) is setup with permissions to the root DN. The Directory Server installation
requires a root DN.