Creating Suffix Referrals From The Command Line - Netscape DIRECTORY SERVER 6.2 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Click Add to add the referral to the list.
5.
You can enter multiple referrals. The directory will return the entire list of
referrals in response to requests from client applications.
Click Save.
6.

Creating Suffix Referrals From the Command Line

Use the
ldapmodify
your directory configuration file. The suffix referral information is added to the
root or sub suffix entry under the
For example, to add a new suffix referral to the
ou=people,dc=example,dc=com
the following to change to the directory containing the utility:
cd serverRoot/shared/bin
Then, run
ldapmodify
ldapmodify -a -h example.com -p 389 -D "cn=directory manager" -w
secret
The
utility binds to the server and prepares it to add information to
ldapmodify
the configuration file.
Next, you add a suffix referral to the
suffix as follows:
dn: cn="ou=people,dc=example,dc=com",cn=mapping tree,cn=config
objectclass: extensibleObject
objectclasss: nsmappingtree
nsslapd-state: referral
nsslapd-referral: ldap://zanzibar.com/
The
attribute is set to
nsslapd-state
for requests made to this suffix. The
LDAP URL of the referral returned by the suffix, in this case a referral to the
server.
zanzibar.com
You can also set the
nsslapd-state
that the database is used for all operations except update requests. When a client
application makes an update request to a suffix set to
client receives a referral.
For more information about the suffix configuration attributes, refer to Table
3-1, "Suffix Attributes," on page 85.
command-line utility to add a suffix referral to an entry in
cn=mapping tree,cn=config
root suffix, you do an
as follows:
ou=people,dc=example,dc=com
referral
nsslapd-referral
attribute to
branch.
ldapmodify
, meaning that a referral is returned
attribute contains the
referral on update
referral on update
Chapter 3
Configuring Directory Databases
Using Referrals
. First, type
root
. This means
, the
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents