1. Determine which attributes must be unique in your data.
  2. Run the dsconfig tool to enable the plugin. By default, the plugin type property is set to postsynchronizationadd, postsynchronizationmodify, postsynchronizationmodifydn, preoperationadd, preoperationmodify, and preopertionmodifydn. If you want to set one plugin type, use the --set plugin-type:<operation-type> option. For example, use --set plugin-type:preoperationadd with the following command if you only want to check for attribute uniqueness prior to ADD operation.
    $ bin/dsconfig set-plugin-prop --plugin-name "UID Unique Attribute" \
      --set enabled:true