Plug-In Type Dependencies; Specifying The Order Of Plug-In Directives; Summary Of Plug-In Directives - Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual

Table of Contents

Advertisement

Creating a Plug-In Configuration File
In this example, the plug-in depends on two specifically named plug-ins:
my_pluginA
plug-in can be loaded, the two specifically named plug-ins must be loaded. If either
of these two plug-ins fail to load, the Directory Server will exit with a

Plug-In Type Dependencies

If you specify the
configuration file, set its value to one or more plug-in types. For example, in your
plug-in configuration file, you could specify the following:
nsslapd-plugin-depends-on-type: syntax
This configuration line indicates that your plug-in depends on any plug-in of type
syntax
loaded before your plug-in can be loaded, otherwise the Directory Server will exit
with a
Note that if you specify a plug-in type dependency, the Directory Server will
search for any and all plug-ins of the type(s) specified. If none are found,
processing will continue without errors. However, the Directory Server must load
all plug-ins of the type(s) specified before it can load your plug-in. For a complete
list of the supported plug-in types, refer to the "Summary of Plug-In Directives,"
on page 42.

Specifying the Order of Plug-In Directives

You cannot in general rely on plug-ins being called in a certain order. For example,
you cannot rely on a particular pre-operation plug-in to be called before another.
You should ensure that your plug-in is written in such a way as to make it
independent of the order in which it will be called.
If you must use ordering, you can make use of alphabetical order. The server loads
the plug-ins in alphabetical order—that is, the loading order is determined by
standard ASCII ordering of the
cn
=plugins,cn=config
deprecated in a future version of the product, it is recommended that you write
your plug-in to not rely on any specific loading order.

Summary of Plug-In Directives

The following table summarizes the different types of plug-ins that you can specify
in the plug-in configuration file.
42
Netscape Directory Server Plug-In Programmer's Guide • August 2002
and
vendor_plugin
nsslapd-plugin-depends-on-type
. If there is a configured plug-in of type
error code.
-1
in the
. This configuration line indicates that before your
syntax
value of the plug-in entry, which appears under
cn
file. Because this feature may be
dse.ldif
error code.
-1
attribute in your plug-in
, it must be successfully

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.1

Table of Contents