Sample DIOP Plug-in
a.
b.
c.
d.
You can also use the
Sample DIOP Plug-in
To help you understand the DIOP feature, a sample DIOP plug-in is included
with Directory Server. This section provides an overview of the sample plug-in
and explains how you can use the plug-in to verify whether the DIOP feature
works in Directory Server. The preceding section, "Using the DIOP Feature," on
page 172, explains how you can use the sample plug-in. The next section,
"Debugging the Plug-in," on page 176, explains how you can troubleshoot the
plug-in.
The sample plug-in is located in the
<server_root>/plugins/slapd/slapi/examples
for the plug-in is named
testdatainterop.c[.h]
testdbinterop.c
db.h
located in the same directory.
Note the following:
•
The main goal of the sample plug-in is to show how to create a simple plug-in
that supports data interoperability.
•
The plug-in does not attempt to create any usable functionality to access
backends (database or files) but returns observable output uniformly to verify
that the functions in the pre-operation plug-in have been accessed and
executed for different LDAP operations.
•
The plug-in demonstrates the use of APIs, which meet the requirements of the
DIOP feature.
174
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Shut down your DIOP-enabled Directory Server.
Open the
<server_root>/slapd-<diopInstance>/config/dse.ldif
file in a text editor.
Delete the
cn=datainterop,cn=plugins,cn=config
the plug-in information.
Restart the server to load the modified configuration.
ldapmodify
libtest-plugin.so
command to make these changes.
directory. The shared library
and is implemented by
entry, which holds
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers