Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 116

Table of Contents

Advertisement

Registering Entry Store/Fetch Functions
plugin entrystore [on|off] "<name of plugin>" \
<library_name> <function_name>
plugin entryfetch [on|off] "<name of plugin>" \
<library_name> <function_name>
<library_name>
library, and
For example, the following directives register the function named
the entry store plug-in function and
function. Both functions are defined in the library
plugin entrystore on "my entrystore plugin" \
/serverroot/myentry.so my_store
plugin entryfetch on "my entryfetch plugin" \
/serverroot/myentry.so my_fetch
Each entry store and entry fetch plug-in is associated with the default
back-end. Make sure that the
the database section for
The
next
116
Netscape Directory Server Plug-In Programmer's Guide • August 2002
is the name and path to your shared library or dynamic link
<function_name>
ldbm
directive should be after the
plugin
directive, if any.
database
is the name of your plug-in function.
as the entry fetch plug-in
my_fetch()
directive that registers the plug-in is within
plugin
in the
slapd.ldbm.conf
database ldbm
my_store()
/usr/nslib/myentry.so
ldbm
file for Directory Server 4.x.
directive and before the
as
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents