Adding the Distribution Function to Your Directory
The entry added corresponds to a database named
the root suffix
The database name, given in the DN attribute, must correspond with one of the
values in the
Adding Distribution Logic to a Suffix
The distribution logic is a function declared in a suffix. This function is called for
every operation reaching this suffix, including the subtree search operations that
start above the suffix. You can add a distribution function to a suffix using both the
console and the command-line.
Using the Console
In the Directory Server Console, select the Configuration tab.
1.
Expand the Data tree and select the suffix to which you want to add the
2.
distribution function.
Select the Databases tab in the right pane.
3.
Click Add to add new databases to the suffix from the Database List.
4.
Enter the path to the distribution library in the Distribution Library field, or
5.
click Browse to locate the library on your local machine.
Enter the name of your distribution function in the Function Name field.
6.
Click Save to save your changes.
7.
From the Command-Line
Use the
entry:
nsslapd-distribution-plugin: <path_to_shared_library>
nsslapd-distribution-funct: <distribution_function_name>
The first line provides the name of the library that your plug-in uses. The second
line provides the name of the distribution function itself.
152
Netscape Directory Server Plug-In Programmer's Guide • December 2003
ou=people,dc=example,dc=com
nsslapd-backend
command-line utility to add the following lines to the suffix
ldapmodify
Datas
.
attribute of the suffix entry.
that contains the data for
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers