1.10. Using Directory Server Plug-ins Directory Server provides several core plug-ins, such as for replication, class of service, and attribute syntax validation. Core plug-ins are enabled by default. Additionally, the Directory Server packages contain further plug-ins to enhance the functionality, such as for attribute uniqueness and attribute linking. However, not all of these plug-ins are enabled by default. For further details, see the Plug-in Implemented Server Functionality Reference chapter in the Red Hat Directory Server Configuration, Command, and File Reference . 1.10.1. Listing Available Plug-ins 1.10.1.1. Listing Available Plug-ins Using the Command Line To list all available plug-ins using the command line: You require the exact name of the plug-in, for example, to enable or disable it using the command line. 1.10.1.2. Listing Available Plug-ins Using the Web Console To display all available plug-ins using the web console: Open the Directory Server user interface in the web console. See Section 1.4, "Logging Into Directory Server Using the Web Console" . Select the instance. Select the Plugins menu. Optionally, you can filter the plug-ins by entering a name into the Filter Plugins field. 1.10.2. Enabling and Disabling Plug-ins 1.10.2.1. Enabling and Disabling Plug-ins Using the Command Line To enable or disable a plug-in using the command line, use the dsconf utility. Note The dsconf command requires that you provide the name of the plug-in. For details about displaying the names of all plug-ins, see Section 1.10.1.1, "Listing Available Plug-ins Using the Command Line" . For example, to enable the Automember plug-in: Enable the plug-in: Restart the instance: 1.10.2.2. Enabling and Disabling Plug-ins Using the Web Console To enable or disable a plug-in using the web console: Open the Directory Server user interface in the web console. See Section 1.4, "Logging Into Directory Server Using the Web Console" . Select the instance. Select the Plugins menu. Select the All Plugins tab. Click the Edit Plugin button to the right of the plug-in you want to enable or disable. Change the status to ON to enable or to OFF to disable the plug-in. Restart the instance. See Section 1.5.2, "Starting and Stopping a Directory Server Instance Using the Web Console" . 1.10.3. Configuring Plug-ins 1.10.3.1. Configuring Plug-ins Using the Command Line To configure plug-in settings, use the dsconf plugin command: For a list of plug-ins you can configure, enter: 1.10.3.2. Configuring Plug-ins Using the Web Console To configure a plug-in using the web console: Open the Directory Server user interface in the web console. See Section 1.4, "Logging Into Directory Server Using the Web Console" . Select the instance. Select the Plugins menu. Select the All Plugins tab. Select the plug-in and click Show Advanced Settings . Open the plug-in-specific tab. Set the appropriate settings. Restart the instance. See Section 1.5.2, "Starting and Stopping a Directory Server Instance Using the Web Console" . 1.10.4. Setting the Plug-in Precedence The plug-in precedence is the priority it has in the execution order of plug-ins. For pre- and post-operation plug-ins, this enables a plug-in to be executed and complete before the plug-in is initiated, to let the plug-in take advantage of the plug-in's results. The precedence can be set to a value from 1 (highest priority) to 99 (lowest priority). If no precedence is set, the default is 50 . Warning Set a precedence value only in custom plug-ins. Updating the value of core plug-ins can cause Directory Server to not work as expected and is not supported by Red Hat. 1.10.4.1. Setting the Plug-in Precedence Using the Command Line To update the precedence value of a plug-in using the command line: Set precedence of the plug-in. For example, to set the precedence for the example plug-in to 1 : Restart the instance: 1.10.4.2. Setting the Plug-in Precedence Using the Web Console To update the precedence value of a plug-in using the web console: Open the Directory Server user interface in the web console. See Section 1.4, "Logging Into Directory Server Using the Web Console" . Select the instance. Open the Plugins menu. Select All Plugins . Press the Edit Plugin button to the plug-in for which you want to configure the precedence value. Update the value in the Plugin Precedence field. Click Save . Restart the instance. See Section 1.5.2, "Starting and Stopping a Directory Server Instance Using the Web Console" .

Commands:
dsconf -D "cn=Directory Manager" ldap://server.example.com plugin list 7-bit check Account Policy Plugin
dsconf -D "cn=Directory Manager" ldap://server.example.com plugin automember enable
dsctl instance_name restart
dsconf -D "cn=Directory Manager" ldap://server.example.com plugin plug-in-specific_subcommand
dsconf -D "cn=Directory Manager" ldap://server.example.com plugin --help
dsconf -D "cn=Directory Manager" ldap://server.example.com plugin edit example --precedence 1
dsctl instance_name restart