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
NLS
100 Red Hat Directory Server Gateway Customization Guide • April 2005
rdnattr. The attribute used to name entries of this type. For example, the default value for
the
rdnattr field for people entries is uid. This means that any people entries created
using the gateway will have DNs of the following format:
uid=string
The rdnattr field can be modified so that entries are named using a different attribute.
For example, to change the
rdnattr of the newtype orgperson line from uid to cn,
people entries created using the gateway will have
cn-based DNs rather than the
UID-based DNs (the default setting).
locations. A space-separated list of the locations where this type of entry can be added.
The locations in this list must be identical to the handle specified on the corresponding
location parameter.
Example
The following example allows persons to be added to the Marketing subtree using the
template for
organizationalPerson:
newtype orgperson"Person"cn marketing
For a more complete example of the newtype parameter, see “Mapping Locations and
Entry Types,” on page 57.
NLS
Identifies the libNLS data directory, which should contain a directory named “locales,”
containing the configuration files
LANG.ctx, LANG.col, and LANG.txt for each
supported language (locale).
Format
NLS libNLS_data_directory
Example
NLS ../../lib/nls
orgchart-attrib-farleft-rdn
Specifies the attribute to be used as the leftmost RDN for the DNs of user entries (in order
to enable the Org Chart application to search for entries).