• To configure the Global Referential Integrity plugin, run dsconfig with the create-plugin option.

    Any attributes for which referential integrity should be maintained should have values that are DNs and should be indexed for equality in all backend servers.

    In this example, the plugin ensures that the member, uniqueMember, and manager attributes maintain their DN references in the defined subtree views.

    $ bin/dsconfig create-plugin \
      --plugin-name "Global Referential Integrity" \
      --type global-referential-integrity \
      --set "enabled:true" \
      --set "attribute-type:member" \
      --set "attribute-type:uniqueMember" \
      --set "attribute-type:manager" \
      --set "subtree-view:employee-view" \
      --set "subtree-view:groups-view"