Page created: 6 Nov 2019
|
Page updated: 25 Mar 2020
| 1 min read
8.0 Product PingDirectory Product documentation Content Type IT Administrator Administrator Audience Software Deployment Method Administration User task Directory Capability
-
Use ldapmodify with the --allowUndelete
option and target the specific soft-deleted entry that you want to restore. The
--allowUndelete option sends the Soft Undelete Request
Control to the server. The first DN is the entry to undelete to and the
ds-undelete-from-dn
is the soft-delete entry to undelete from.$ bin/ldapmodify --allowUndelete dn: uid=user.1,ou=People,dc=example,dc=com changetype:add ds-undelete-from-dn: entryUUID=4e9b7847-edcb-3791-b11b- 7505f4a55af4+uid=user.1,ou=People,dc=example,dc=com