I.14 Accessing HTTPSTK When Directory Service Is Not Loaded

You can set up a preconfigured admin user that allows access to the HTTP Protocol Stack (HTTPSTK) when DS is not loaded. The preconfigured admin user, sadmin, has rights that are equivalent to the eDirectory Admin User object. If the server is in a state where eDirectory is not functioning correctly, you can log in to the server as this user and perform all the diagnostic and debugging tasks necessary that do not require eDirectory.

Setting the sadmin Password on Windows

Use the DHost remote manager page (accessible through the /dhost URL or from the root page) to set the sadmin password. dhost.exe must be running on the eDirectory server in order for you to set or change the sadmin password.

  1. Open a Web browser.

  2. In the address (URL) field, enter the following:

    http://server.name:port/dhost

    for example:

    http://MyServer:80/dhost

    You can also use the server IP address to access the DHost iConsole. For example:

    http://137.65.135.150:80/dhost
  3. Specify a username, context, and password.

  4. Click HTTP Server, then specify an sadmin password.

  5. Verify the password you just specified, then click Submit.

Setting the sadmin Password on Linux

To set the sadmin password on Linux, you can use either the DHost Remote Management page or the ndsconfig utility.

Using the DHost Remote Management Page

Access the DHost Remote Manager page through the /dhost URL or from the root page and set the sadmin password. eDirectory server must be running in order for you to set or change the sadmin password.

  1. Open a Web browser.

  2. In the address (URL) field, enter the following:

    http://server.name:port/dhost

    for example:

    http://MyServer:80/dhost

    You can also use the server IP address to access the DHost iConsole. For example:

    http://137.65.135.150:80/dhost
  3. Specify a username, context, and password.

  4. Click HTTP Server, then specify an sadmin password.

  5. Verify the password you just specified, then click Submit.

Using the ndsconfig

Use the ndsconfig utility to set the sadmin password. ndsd must be running on the eDirectory server in order for you to set or change the sadmin password.

Enter the following at the server console:

ndsconfig set http.server.sadmin-pwd=password

where password is the new sadmin password.

For more information on using the ndsconfig utility, see ndsconfig Utility Parameters in the NetIQ eDirectory Installation Guide.