In some cases, the original RDN, uid=user.1, may have been allocated to a new user, which is allowed while the entry is in a soft-deleted state. To properly undelete this entry, you need to specify a new RDN value that the entry should be restored with. In this case, specifying the RDN of uid=user.5 will undelete the original entry but with the new DN in the example below. In addition, the uid attribute on the entry will be updated with the new value of user.5 as well. All other attributes of the users entry including the entryUUID will remain unchanged.