
Chapter 3. Configuring Directory Databases
88
2. Then add the same local proxy authorization ACI to server three as on Server 2. Add the following
proxy authorization ACI to the
l=Zanzibar,ou=people,dc=example,dc=com
entry:
aci: (targetattr = "*")(version 3.0; acl "Proxied authorization
for database links"; allow (proxy) userdn = "ldap:///cn=server2
proxy admin,cn=config";)
This ACI gives the Server 2 proxy admin read-only access to the data contained on the remote
server, server three, within the
l=Zanzibar,ou=people,dc=example,dc=com
subtree only.
3. Create a local client ACI on the
l=Zanzibar,ou=people,dc=example,dc=com
subtree that
corresponds to the original client application. Use the same ACI as the one created for the client
on Server 2:
aci: (targetattr ="*")(target="l=Zanzibar,c=africa,ou=people,dc=example,dc=com")
(version 3.0; acl "Client authentication for database link users"; allow (all)
userdn = "ldap:///uid=*,c=us,ou=people,dc=example,dc=com";)
The cascading chaining configuration is now set up. This cascading
configuration allows a user to bind to Server 1 and modify information in the
l=Zanzibar,c=africa,ou=people,dc=example,dc=com
branch on server three. Depending on
your security needs, it may be necessary to provide more detailed access control.
3.4. Using Referrals
Referrals tell client applications which server to contact for a specific piece of information. This
redirection occurs when a client application requests a directory entry that does not exist on the
local server or when a database has been taken off-line for maintenance. This section contains the
following information about referrals:
•
Section 3.4.1, “Starting the Server in Referral Mode”
•
Section 3.4.2.1, “Setting a Default Referral Using the Console”
•
Section 3.4.3, “Creating Smart Referrals”
•
Section 3.4.4, “Creating Suffix Referrals”
3.4.1. Starting the Server in Referral Mode
Referrals are used to redirect client applications to another server while the current server is
unavailable or when the client requests information that is not held on the current server.
For example, starting Directory Server in referral mode while there are configuration changes being
made to the Directory Server will refer all clients to another supplier while that server is unavailable.
Starting the Directory Server in referral mode is done with the
refer
command.
Run
nsslapd
with the
refer
option.
/usr/sbin/ns-slapd refer -D /usr/lib/dirsrv/slapd-
instance_name
[-p
port
] -r
referral_url
•
/usr/lib/dirsrv/slapd-
instance_name
is the directory where the Directory Server
configuration files are. This is the default location on Red Hat Enterprise Linux 5 (32-bit) for the
location on other platforms, see
Section 1.1, “Directory Server File Locations”
.
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...