Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 163

Table of Contents

Advertisement

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 <server_root>/plugins/slapd/slapi/examples
Build the plug-in.
c.
gmake
Modify the
d.
<server_root>/slapd-<diopInstance>/config/dse.ldif
file to include an entry for the plug-in. For instructions to modify the
file, see "Enabling the DIOP Feature in Directory Server," on
dse.ldif
page 161. 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:
<server_root>/plugins/slapd/slapi/examples/libtest-plugin.so
nsslapd-pluginInitfunc: nullsuffix_init
nsslapd-pluginType: preoperation
nsslapd-pluginEnabled: on
nsslapd-pluginId: nullsuffix-preop
nsslapd-pluginVersion: 6.1
nsslapd-pluginVendor: Netscape
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.
Open the
b.
<server_root>/slapd-<diopInstance>/config/dse.ldif
in a text editor.
Modify the
c.
cn=datainterop,cn=plugins,cn=config
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
d.
modified configuration.
If you want to delete the sample plug-in from the server:
Shut down your DIOP-enabled Directory Server.
a.
Chapter 13
Using Data Interoperability Plug-Ins
Using the DIOP Feature
file
entry, which holds
163

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents