Managing the primary administrator DN with the command-line utility

Use the command-line utility, idsdnpw, to manage the primary administrator DN for an instance.

Before you begin

To configure the primary administrator DN for an instance, you must complete the following requirements:

About this task

If you do not specify the administrator DN value, the default value, cn=root, is set in the ibmslapd.conf file for the directory server instance. You must specify the primary administrator password for an instance.

If you do not specify the password, the idsdnpw command prompts for the password. The password is not shown at the command prompt when you type it.

Procedure

  1. Log in as directory server instance owner.
  2. Access the command prompt.
  3. Change the current working directory to the sbin subdirectory in the IBM® Verify Directory installation location.
  4. To set the administrator DN for an instance, run the following command:
    Substitute the instance_name, adminDN, and adminPWD values as per your requirements.
    idsdnpw -I instance_name -u adminDN -p adminPWD
    For more information about the idsdnpw command, see Command Reference.

What to do next

Start the directory server. See Starting or stopping a directory server and an administration server with command-line utilities.