System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

Uninitializing a Client

How to Uninitialize a Client
  1. Become superuser.

  2. Use ldapclient.

    # ldapclient -uninit


    System successfully recovered

ldapclient uninit restores the client name service to what it was prior to the most recent init, modify, or manual operation. In other words, it performs an “undo” on the last step taken. For example, if the client was configured to use profile1 and was then changed to use profile2, using ldapclient uninit would revert the client back to using profile1.