Creating Smart Referrals - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Setting a Default Referral From the Command Line
Use the
ldapmodify
entry in your directory configuration file.
cn=config
For example, to add a new default referral from your Directory Server,
, to a server named
example.com
entry. First, type the following to change to the directory containing the utility:
cd /usr/netscape/servers/shared/bin
Then, run the
ldapmodify
ldapmodify -h example.com -p 389 -D "cn=directory manager" -w secret
The
utility binds to the server and prepares it to change an entry in
ldapmodify
the configuration file.
Next, you add the default referral to the
dn: cn=config
changetype: modify
replace: nsslapd-referral
nsslapd-referral: ldap://zanzibar.com/
Once you have added the default referral to the
the directory will return the default referral in response to requests made by client
applications. You do not need to restart the server.

Creating Smart Referrals

Smart referrals allow you to map a directory entry or directory tree to a specific
LDAP URL. Using smart referrals, you can refer client applications to a specific
server or a specific entry on a specific server.
For example, a client application requests the following directory entry:
uid=bjensen,ou=people,dc=example,dc=com
client which points to the entry
jensen,o=people,l=europe,dc=example,dc=com
directory.europe.example.com
The way the directory uses smart referrals conforms to the standard specified in
RFC 2251 section 4.1.11. For more information, go to
http://www.ietf.org/rfc/rfc2251.txt to read the RFC.
The following procedures describe creating smart referrals using both the console
and the command-line utilities.
command-line utility to add a default referral to the
zanzibar.com
utility as follows:
zanzibar.com
cn=babs
.
, add a new line to the
server:
entry of your directory,
cn=config
. You return a smart referral to the
on the server
Chapter 3
Configuring Directory Databases
Using Referrals
cn=config
133

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents