Configuring soft deletes as a global configuration - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce

Configure the soft delete feature by creating a soft delete policy and then setting the configuration property on the server. The presence of the soft-delete policy enables the feature on the server and allows the global configuration property to send the necessary soft delete requests.

For this configuration, use the --useSoftDelete option used with the ldapmodify or ldapdelete commands to send the delete using the soft delete request control. Without the --useSoftDelete option, any delete is processed as a hard delete.

To configure soft deletes as a global configuration:

  1. Configure a soft delete policy using the dsconfig command.

    The soft delete configuration requires a soft delete policy, which enables the feature on the server.

    $ bin/dsconfig create-soft-delete-policy \
      --policy-name default-soft-delete-policy
  2. Configure the soft delete as a global configuration property using the dsconfig command.

    This command sets up the soft delete controls necessary to send them as a request.

    $ bin/dsconfig set-global-configuration-prop \
      --set soft-delete-policy:default-soft-delete-policy