Red Hat Directory Server 8.0 Administrator's Guide

Managed DSA. This controls returns smart referrals as entries, rather than following the
referral, so the smart referral itself can be changed or deleted.
Loop detection. This control keeps track of the number of times the server chains with another
server. When the count reaches the configured number, a loop is detected, and the client
application is notified. For more information about using this control, see Section 3.7.5,
“Detecting Loops”.
NOTE
Server-side sorting and VLV controls are supported only when a client
application request is made to a single database. Database links cannot support
these controls when a client application makes a request to multiple databases.
3.1.2.1. Chaining LDAP Controls Using the Console
1. In the Directory Server Console, select the Configuration tab.
2. Expand the Data folder in the left pane, and click Database Link Settings.
3. Select the Settings tab in the right window. To add an LDAP control to the list, click Add.
The Select control OIDs to add dialog box displays. Select the OID of a control to add to
the list, and click OK.
4. To delete a control from the list, select it from the LDAP controls forwarded to the remote
server list, and click Delete.
5. Click Save.
3.1.2.2. Chaining LDAP Controls from the Command-Line
Alter the controls that the database link forwards by changing the nsTransmittedControls
attribute of the cn=config,cn=chaining database, cn=plugins,cn=config entry. For
example, to forward the virtual list view control, add the following to the database link entry in
the configuration file:
nsTransmittedControls: 2.16.840.1.113730.3.4.9
In addition, if clients of the Directory Server create their own controls and their operations
should to be chained to remote servers, add the OID of the custom control to the
nsTransmittedControls attribute.
Chapter 3. Configuring Directory Databases
74