Complete Contents
Preface
Chapter 1
Gateway Features
Chapter 2
Setting Up the Gateway
Chapter 3
Gateway Localization
Chapter 4
Files Controlling Gateway Functionality
Chapter 5
Entry Types and Object Class Attributes
Chapter 6
Search Attributes, Features, and Results
Chapter 7
Customizing Graphics and Color
Appendix A
.conf Parameters
Appendix B
Gateway Directives Reference
Appendix C
CGI Usage
Appendix D
Gateway User Help
Contents
Index
Contents
Preface
Who Needs This Guide
What's In This Guide
Related Information
Chapter 1
Gateway Features
What Is a Gateway?
HTTP Server Requirements for Gateways
Gateways Installed with Directory Server 4.0
Default Gateway (dsgw.conf)
Directory Express (pb.conf)
Support for Multiple Gateway Instances
Specifying Gateway Configuration to Gateway CGIs
GET Operations (GCONTEXT)
POST Operations (PCONTEXT)
URLs for Gateway Access
Release 4.0
Release 3.x
Gateway Localization
Gateway Locales
Character Sets
Non-Anonymous Searching
binddnfile
Compatibility with Existing Gateways
Automatic Updates to Directory Configuration
Chapter 2
Setting Up the Gateway
Gateway Installation Planning
Location of Gateway Files
Gateway Release 4.0
Gateway Release 3.x
Securing 4.0 Gateway Configuration and Settings
Protecting Bind DN and Password
Protecting Root Processes on UNIX Systems
Migrating 3.x default Gateways to Release 4.0
Location of migrated dsgw.conf file
Running the Gateway Migration Script
Updating the Gateway with Changes to Directory Server Configuration
HTTP Server Recommendations for Directory Server Gateway Release 4.0
Factors Affecting Gateway Usage
Running the Gateway in High-Usage Networks
HTTP Server Configuration
Name Translation Mapping
Gateway Root Suffix
Configuring the Gateway for Enterprise or FastTrack Servers
Add an Additional Document Directory (4.0 Gateways)
Add an Additional Document Directory (3.x Gateways)
Add an Additional CGI Directory (for 3.x Gateways)
Change Permissions of Cookie Directory (UNIX only)
Creating a New Gateway Instance (4.0 only)
Gateway Cloning
Gateway .conf File Configuration
Changing the Default Port Setting
Setting Up the Directory Manager
Configuring the Directory Manager DN
Authenticating as Directory Manager
Setting up the Suffix for Adding Entries
Setting Up SSL Support
Configuring the Gateway to Use SSL
Setting Up Localization
Setting Locations and newtypes
Setting vCard Properties
Configuring Gateway Clients
Language Support for HTTP Clients
Unicode and Latin-1 Character Sets
Displaying a Non-English Alphabet
Configuring Communicator 4.x for Preferred Language
Configuring Navigator 3.01 for Preferred Language
Customizing Communicator's LDAP Settings
Chapter 3
Gateway Localization
Unicode and Netscape Support for UTF-8
How the Gateway Selects a Character Set
How the Gateway Selects from Multiple Requested Character Sets
HTTP Clients that Request UTF-8
HTTP Clients that Do Not Request UTF-8
Special Characters
Non-breaking Space
Query Strings
Gateway Locales
Support for Multiple Locales
Setting Up Locales for Translation
dsgw-l10n.conf
Chapter 4
Files Controlling Gateway Functionality
An Overview of Gateway File Types
Gateway .conf Files
dsgw.conf
pb.conf
Gateway Search Configuration Files
dsgwsearchprefs.conf
dsgwfilter.conf
Object Class Templates
Gateway Script Files
Gateway Search Result Templates
Banner Files
Chapter 5
Entry Types and Object Class Attributes
Entry Types (Object Classes)
Parameters Controlling Entry Types
template
location
newtype
Considerations for Adding New Entry Types
Mapping Locations and Entry Types
Mapping Entry Types to Locations
Setting Up Organizational Units
Configuring DN Formats for Entry Types
UID-Based DN
Modifying the Default DN format
Object Class Attributes in Template Files
Default Gateway Object Classes
Templates and Directives
Entry-Related Directives
Adding Attributes to Object Classes
Deleting Attributes from Object Classes
Extending Object Classes
Adding a Template for a Child of a Parent Class
Creating a New Parent Object Class
Chapter 6
Search Attributes, Filters, and Results
Search Configuration Files
dsgwsearchprefs.conf
dsgwfilter.conf
Changing Search Scope
Modifying Search Attributes for Advanced Searches
Standard and Advanced Searches
Specifying Search Attributes for Person
Directory Express Search Support for User ID
Adding Search Support for Additional Attributes
Adding Search Support for a New Object
Extending Search Preferences
Creating a New Search Object
Modifying Default Search Filters
Search Filters for User Data Patterns
Specifying a Search Filter for a New Object
Customizing Search Result Templates
How the Gateway Displays Search Results
Search Result Tables
Modifying Search Result Templates
Adding Information to Search Results
Removing Information from Search Results
Chapter 7
Customizing Graphics and Color
Appearance of Gateway Forms
Updating the Banner Image
Changing Dimensions of Banner Image
Changing Filename of Banner Image
Updating Button Images
Color Schemes
Files Controlling Colors on Gateway Forms
Changing Colors Using BODY Tag
Changing Colors Using Directives
Changing Table Colors
Specifying Color Names and Color Codes
Changing Color of Table Headings
Changing the Background Color of Table Rows
Appendix A
.conf Parameters
authlifetime
baseurl
binddnfile
changeHTML
charset
configdir
dirmgr
gwnametrans
htmldir
ignoreAccetpCharsetFrom
include
location
location-suffix
newtype
NLS
securitypath
template
vcard-property
Appendix B
Gateway Directives Reference
Introduction
Structure of an HTML Template
Structure of an HTML Template for Directory List
Context-Related Directives
GCONTEXT
PCONTEXT
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_END_DNSEARCHFORM
DS_ATTRVAL_SET
IF/ ELSE/ ELIF/ ENDIF
Miscellaneous Directives
BODY
COLORS
TITLE
ENDHTML
HELPBUTTON
INCLUDE
INCLUDECONFIG
DS_LAST_OP_INFO
DS_LOCATIONPOPUP
DS_GATEWAY_VERSION
IF/ ELSE/ ELIF/ ENDIF
Appendix C
CGI Usage
auth
csearch
dnedit
doauth
domodify
dosearch
edit
lang
newentry
search
unauth
Appendix D
Gateway User Help
Directory Tree Structure
Distinguished Name Syntax
Unique Distinguished Names
Searching the Directory
Performing a Standard Search
Name Search Functionality
Name and Initial Search Functionality
Searching for Phone Numbers
Searching for Email Addresses
Using LDAP Search Filters
Advanced Search
Performing an Advanced Search
Viewing Search Results
No matches
A Single match
Multiple matches
Search Tips
Numeric Values
Blank Spaces
Authentication
Access Control
Authenticating to the Directory
Maintaining Authentication Credentials
Logging Out of the Directory
Troubleshooting Authentication Problems
Adding Entries Using the New Entry Form
Adding a Person Entry
Adding an NT Person Entry
Adding a Group Entry
Adding an NT Group
Adding an Organizational Unit Entry
Adding an Organization Entry
Index
© Copyright 1999 Netscape Communications Corporation