Creating and Maintaining Databases90 Netscape Directory Server Administrator’s Guide • May 2002Once Netscape Professional Services has helped you create a custom distribution logicplug-in, you need to add it to your directory. The following procedures describeadding distribution logic to a suffix in your directory.Adding the Custom Distribution Function to a SuffixThe distribution logic is a function declared in a suffix. This function is called forevery operation reaching this suffix, including subtree search operations that startabove the suffix. You can insert a distribution function into a suffix using both theconsole and the command line.For information about creating your own custom distribution logic, contactNetscape Professional Services.Adding Custom Distribution Using the Console1. On the Directory Server Console, select the Configuration tab.2. Expand Data in the left navigation pane. Select the suffix to which you want toapply your distribution function.3. Select the Databases tab in the right window.4. Click Add to associate additional databases with the suffix.The “Database List” dialog box is displayed. Select a database from the list andclick OK.5. Enter the path to your distribution library in the “Distribution library” field, orclick Browse to locate a distribution library on your local machine.6. Enter the name of your distribution function in the “Function name” field.7. Click Save to save your changes.Adding Custom Distribution From the Command LineUse the ldapmodify command-line utility to add the following attributes to thesuffix entry itself:nsslapd-backend: Database1nsslapd-backend: Database2nsslapd-backend: Database3nsslapd-distribution-plugin: /full/name/of/a/shared/librarynsslapd-distribution-funct: distribution-function-nameThe nsslapd-backend attribute specifies all of the databases associated with thissuffix. The nsslapd-distribution-plugin attribute specifies the name of thelibrary that your plug-in uses. The nsslapd-distribution-funct attributeprovides the name of the distribution function itself.