HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
The following directory contains the uncompiled C code examples: /opt/dirsrv/devel/
example
This directory contains the distrib.c file, which contains three example functions
(alpha_distribution, hash_distribution, and chaining_distribution) and a
Makefile for compiling them.
After you have compiled the source code, you will have the distrib-plugin.so file.
12.5 Custom distribution checklist
In summary, the following steps are involved in adding the distribution function to your directory:
Create the distribution function.
Create a suffix.
Add as many databases to the suffix as required by your distribution algorithm.
Declare the distribution function in the suffix. You must specify the library path and the
function name.
Import data into the databases. If you do not import data, you need to import the root entry
to each database.
12.5 Custom distribution checklist 105