PingDirectory

Running a base-level search on a soft-deleted entry

Use the command line to run a base-level search on a soft-deleted entry.

Steps

  • Run the ldapsearch command using the base distinguished name (DN) of the specified soft-deleted entry.

    Example:

    $ bin/ldapsearch \
      --baseDN entryUUID=4e9b7847-edcb-3791-b11b-7505f4a55af4+uid=user.1,ou=People,dc=example,dc=com \
      --searchScope base "(objectClass=*)"

    Result:

    # Soft-deleted entry DN:
    # entryUUID=4e9b7847-edcb-3791-b11b-7505f4a55af4+uid=user.1,ou=People,dc=example,dc=com
    dn: entryUUID=4e9b7847-edcb-3791-b11b-7505f4a55af4+uid=user.1,ou=People,dc=example,dc=com
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: ds-soft-delete-entry
    postalAddress: Aartjan Aalders$59748 Willow Street$Green Bay, TN 66239
    postalCode: 66239
    description: This is the description for Aartjan Aalders.
    uid: user.1
    userPassword: {SSHA}RdBCwQ2kIw57LukRthjrFBS/oFylJARnmTnorA==
    employeeNumber: 1
    initials: AKA
    givenName: Aartjan
    pager: +1 197 025 3730
    mobile: +1 890 430 9077
    cn: Aartjan Aalders
    sn: Aalders
    telephoneNumber: +1 094 100 7524
    street: 59748 Willow Street
    homePhone: +1 332 432 4295
    l: Green Bay
    mail: user.3@maildomain.net
    st: TN