![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 139](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675139.webp)
Using Referrals
Chapter
3
Configuring Directory Databases
139
Creating Smart Referrals From the Command Line
Use the
ldapmodify
command-line utility to create smart referrals from the
command line.
To create a smart referral, create the relevant directory entry and add the
Referral
object class. This object class allows a single attribute,
ref
. The
ref
attribute is
expected to contain an LDAP URL.
For example, add the following to return a smart referral for an existing entry,
uid=bjensen
:
dn: uid=bjensen,ou=people,dc=example,dc=com
objectclass: referral
ref:
ldap://directory.europe.example.com/cn=babs%20jensen,ou=people,
l=europe,dc=example,dc=com
To add the entry
uid=ssarette,ou=people,dc=example,dc=com
with a referral
to
directory.europe.example.com
, you would include the following in your
LDIF file before importing:
dn: uid=ssarette, ou=people, dc=example,dc=com
objectclass: top
objectclass: person
objectclass: organizationalperson
objectclass: inetOrgPerson
objectclass: referral
cn: somi sarette
sn: sarette
uid: ssarette
ref:
ldap://directory.europe.example.com/cn=somi%20sarette,ou=people,
l=europe,dc=example,dc=com
Use the
-M
option with
ldapmodify
when there is already a referral in the DN path.
For information on the
-M
option, see the Netscape Directory Server Configuration,
Command, and File Reference.
For more information on smart referrals, see Netscape Directory Server Deployment
Guide. For more information about the
ldapmodify
utility, refer to the Netscape
Directory Server Configuration, Command, and File Reference.
NOTE
Any information after a space in an LDAP URL is ignored by the
server. For this reason, you must use
%20
instead of spaces in any
LDAP URL you intend to use as a referral.
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...