Creating and Maintaining Databases
Once Netscape Professional Services has helped you create a custom distribution logic
plug-in, you need to add it to your directory. The following procedures describe
adding distribution logic to a suffix in your directory.
Adding the Custom Distribution Function to a Suffix
The distribution logic is a function declared in a suffix. This function is called for
every operation reaching this suffix, including subtree search operations that start
above the suffix. You can insert a distribution function into a suffix using both the
console and the command line.
For information about creating your own custom distribution logic, contact
Netscape Professional Services.
Adding Custom Distribution Using the Console
On the Directory Server Console, select the Configuration tab.
1.
Expand Data in the left navigation pane. Select the suffix to which you want to
2.
apply your distribution function.
Select the Databases tab in the right window.
3.
Click Add to associate additional databases with the suffix.
4.
The "Database List" dialog box is displayed. Select a database from the list and
click OK.
Enter the path to your distribution library in the "Distribution library" field, or
5.
click Browse to locate a distribution 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.
Adding Custom Distribution From the Command Line
Use the
suffix entry itself:
nsslapd-backend: Database1
nsslapd-backend: Database2
nsslapd-backend: Database3
nsslapd-distribution-plugin:
nsslapd-distribution-funct:
The
nsslapd-backend
suffix. The
library that your plug-in uses. The
provides the name of the distribution function itself.
90
Netscape Directory Server Administrator's Guide • May 2002
command-line utility to add the following attributes to the
ldapmodify
attribute specifies all of the databases associated with this
nsslapd-distribution-plugin
/full/name/of/a/shared/library
distribution-function-name
attribute specifies the name of the
nsslapd-distribution-funct
attribute
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers