Red Hat DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS Manual page 173

Table of Contents

Advertisement

To help you understand the DIOP feature, a sample plug-in in provided. Details of
this plug-in is covered in "Sample DIOP Plug-in," on page 172. 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.
a.
Go to the directory in which the sample plug-in is located.
b.
cd /opt/redhat-ds/plugins/slapd/slapi/examples
Build the plug-in.
c.
gmake
Modify the
d.
/opt/redhat-ds/servers/slapd-diopInstance/config/dse.ldif
include an entry for the plug-in. For instructions to modify the
file, see "Enabling the DIOP Feature in Directory Server," on page 169. 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:
/opt/redhat-ds/plugins/slapd/slapi/examples/libtest-plugi
n.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.
e.
If you want to reconfigure the server to use your own plug-in:
Shut down your DIOP-enabled Directory Server.
a.
Chapter 13
Using Data Interoperability Plug-ins
Using the DIOP Feature
file to
dse.ldif
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents