![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 141](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675141.webp)
Using Referrals
Chapter
3
Configuring Directory Databases
141
For example, to add a new suffix referral to the
ou=people,dc=example,dc=com
root suffix, you do an
ldapmodify
. First, type the following to change to the
directory containing the utility:
cd
serverRoot
/shared/bin
Then, run
ldapmodify
as follows:
ldapmodify -a -h example.com -p 389 -D "cn=directory manager" -w
secret
The
ldapmodify
utility binds to the server and prepares it to add information to
the configuration file.
Next, you add a suffix referral to the
ou=people,dc=example,dc=com
root 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
nsslapd-state
attribute is set to
referral
, meaning that a referral is returned
for requests made to this suffix. The
nsslapd-referral
attribute contains the
LDAP URL of the referral returned by the suffix, in this case a referral to the
Zanzibar.com server.
You can also set the
nsslapd-state
attribute to
referral on update
. This means
that the database is used for all operations except update requests. When a client
application makes an update request to a suffix set to
referral on update
, the
client receives a referral.
For more information about the suffix configuration attributes, refer to Table 3-1,
“Suffix Attributes,” on page 85.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...