Creating and Maintaining Database Links
Chapter 3
Configuring Directory Databases
135
Setting this attribute to
on
in the
cn=default instance config,cn=chaining
database,cn=plugins,cn=config
entry means that all new database link
instances will have the
nsCheckLocalACI
attribute set to
on
in their
cn=
database_link_name
,cn=chaining database,cn=plugins,cn=config
entry.
Creating Client ACIs
Because you have enabled local ACI evaluation, you need to create the appropriate
client application ACIs on all intermediate database links, as well as the final
destination database.
To do this on the intermediate database links, you first need to create a database
that contains a suffix that represents a root suffix of the final destination suffix.
For example, if you are chaining a client request made to the
c=africa,ou=people,dc=example,dc=com
suffix on a remote server, all
intermediate database links need to contain a database associated with the
dc=example,dc=com
suffix.
You then need to add any client ACIs to this superior suffix entry. For example,
you might add the following
aci: (targetattr = "*")(version 3.0; acl "Client authentication
for database link users"; allow (all) userdn = "ldap:///uid=*
,cn=config";)
This ACI allows client applications that have a
uid
in the
cn=config
entry of
Server 1 to perform any type of operation on the data below the
ou=people,dc=example,dc=com
suffix on server three.
Detecting Loops
An LDAP control included with Directory Server prevents loops. When first
attempting to chain, the server sets this control to be the maximum number of
hops, or chaining connections, allowed. Each subsequent server decrements the
count. If a server receives a count of
0
, it determines that a loop has been detected
and notifies the client application.
The number of hops allowed is defined using the
nsHopLimit
attribute. If not
specified, the default value is
10
.
To use the control, add the following OID to the
nsTransmittedControl
attribute
in the
cn=config,cn=chaining database,cn=plugins,cn=config
entry:
nsTransmittedControl: 1.3.6.1.4.1.1466.29539.12
If the control is not present in the configuration file of each database link, loop
detection will not be implemented.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...