Sample Global Referential Integrity plugin
Steps
-
To configure the Global Referential Integrity plugin, run
dsconfig
with thecreate-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.
Example:
In this example, the plugin ensures that the
member
,uniqueMember
, andmanager
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"