
Advanced Feature: Configuring Cascading Chaining
85
objectclass: top
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: c=africa,ou=people,dc=example,dc=com
nsfarmserverurl: ldap://africa.example.com:389/
nsmultiplexorbinddn: cn=server1 proxy admin,cn=config
nsmultiplexorcredentials: secret
cn: DBLink1
nsCheckLocalACI:off
dn: cn="c=africa,ou=people,dc=example,dc=com",cn=mapping tree,cn=config
objectclass=nsMappingTree
nsslapd-state=backend
nsslapd-backend=DBLink1
nsslapd-parent-suffix: "ou=people,dc=example,dc=com"
cn: "c=africa,ou=people,dc=example,dc=com"
The first section creates the entry associated with
DBLink1
. The second section creates a new
suffix, allowing the server to direct requests made to the database link to the correct server. The
nsCheckLocalACI
attribute does not need to be configured to check local ACIs, as this is only
required on the database link,
DBLink2
, on Server 2.
3. To implement loop detection, to specify the OID of the loop detection control in
the
nsTransmittedControl
attribute stored in
cn=config,cn=chaining
database,cn=plugins,cn=config
entry on Server 1.
dn: cn=config,cn=chaining database,cn=plugins,cn=config
changeType: modify
add: nsTransmittedControl
nsTransmittedControl: 1.3.6.1.4.1.1466.29539.12
As the
nsTransmittedControl
attribute is usually configured by default with the loop detection
control OID
1.3.6.1.4.1.1466.29539.12
value, it is wise to check beforehand whether it
already exists. If it does exist, this step is not necessary.
3.3.7.7.2. Configuring Server Two
1. Create a proxy administrative user on Server 2. This administrative user will be used to allow
Server 1 to bind and authenticate to Server 2. It is useful to choose a proxy administrative user
name which is specific to Server 1, as it is the proxy administrative user which will allow server
one
to bind to Server 2. Create the proxy administrative user, as follows:
dn: cn=server1 proxy admin,cn=config
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
cn: server1 proxy admin
sn: server1 proxy admin
userPassword: secret
description: Entry for use by database links
WARNING
Do not use the Directory Manager or Administrator ID user as the proxy administrative
user on the remote server. This creates a security hole.
Summary of Contents for DIRECTORY SERVER 8.0
Page 18: ...xviii ...
Page 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Page 30: ...12 ...
Page 112: ...94 ...
Page 128: ...110 ...
Page 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Page 224: ...206 ...
Page 324: ...306 ...
Page 334: ...316 ...
Page 358: ...340 ...
Page 410: ...392 ...
Page 420: ...402 ...
Page 444: ...426 ...
Page 454: ...436 ...
Page 464: ...446 ...
Page 484: ...466 ...
Page 512: ...494 ...
Page 522: ...504 ...