Show Table of Contents
13.3. Using the DIOP Feature
This section explains how you can verify whether the DIOP feature works in Directory Server. After you have successfully installed and configured two instances of Directory Servers, as explained in the preceding sections, follow the instructions in this section.
To help you understand the DIOP feature, a sample plug-in is provided. Details of this plug-in is covered in Section 13.3, “Using the DIOP Feature”. It is recommended that you review the sample plug-in first and use that as an example to develop your own plug-in.
To verify the DIOP feature, you may use the sample plug-in or reconfigure Directory Server to use your own plug-in. You can also remove the plug-in altogether from the server.
- If you want to use the sample plug-in, first build the plug-in, and then load it into the server:
- Shut down your DIOP-enabled Directory Server.
- Go to the directory in which the sample plug-in is located.
# cd /usr/lib64/dirsrv/plugins/
- Build the plug-in.
# gmake
- Modify the
/etc/dirsrv/slapd-instance/dse.ldiffile to include an entry for the plug-in. For instructions on to modify thedse.ldiffile, refer to Section 13.3, “Using the DIOP Feature”. The entry shown below is for the sample plug-in.dn: cn=datainterop,cn=plugins,cn=config objectClass: top objectClass: nsSlapdPlugin cn: datainterop nsslapd-pluginPath: /usr/lib64/dirsrv/plugins/libtest-plugin.so nsslapd-pluginInitfunc: nullsuffix_init nsslapd-pluginType: preoperation nsslapd-pluginEnabled: on nsslapd-pluginId: nullsuffix-preop nsslapd-pluginVersion: 7.1 nsslapd-pluginVendor: Red Hat, Inc. nsslapd-pluginDescription: sample pre-operation null suffix plugin
- Restart the server to load the modified configuration.
- If you want to reconfigure the server to use your own plug-in:
- Shut down your DIOP-enabled Directory Server.
- Open the
/etc/dirsrv/slapd-instance/dse.ldiffile in a text editor. - Modify the
cn=datainterop,cn=plugins,cn=configentry, which holds the plug-in information, with data from your proprietary database plug-in. - After you have done the required changes, restart the server to load the modified configuration.
- If you want to delete the sample plug-in from the server:
- Shut down your DIOP-enabled Directory Server.
- Open the
/etc/dirsrv/slapd-instance/dse.ldiffile in a text editor. - Delete the
cn=datainterop,cn=plugins,cn=configentry, which holds the plug-in information. - Restart the server to load the modified configuration.
You can also use the
ldapmodify command to make these changes.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.