Hard deleting a soft-deleted entry (global configuration)
About this task
Permanently remove a soft-deleted entry from the PingDirectory server.
Steps
-
To permanently remove a soft-deleted entry, run
ldapdelete
on the soft-deleted entry.Example:
The following example assumes that you configured soft deletes as a global configuration for requests.
$ bin/ldapdelete \ entryUUID=4e9b7847-edcb-3791-b11b-7505f4a55af4+uid=user.1,ou=People,dc=example,dc=com Processing DELETE request for entryUUID=4e9b7847-edcb-3791-b11b- 7505f4a55af4+uid=user.1,ou=People,dc=example,dc=com DELETE operation successful for DN entryUUID=4e9b7847-edcb-3791-b11b- 7505f4a55af4+uid=user.1,ou=People,dc=example,dc=com
You cannot soft-delete an already soft-deleted entry. If you use the
--useSoftDelete
subcommand with theldapdelete
operation on a soft-deleted entry, an error message generates.DELETE operation failed. Result Code: 53 (Unwilling to Perform) Diagnostic Message: DELETE operation failed.