LDAP-UX Client Services B.05.00 Administrator's Guide

NOTE: This section assumes you are installing LDAP-UX on a host on which LDAP-UX is not
already installed. If you attempt to run autosetup on a host on which LDAP-UX (ldapclientd)
is already running, the procedure aborts. If the LDAP-UX is installed on the host but not running,
the procedure proceeds. However, if a previous LDAP-UX configuration profile is found on the
system, the procedure warns you that proceeding will overwrite the file and asks if you want to
proceed.
You can proceed if your intention is to reconfigure LDAP-UX on the host. You could reconfigure
LDAP-UX for any of several reasons, such as:
You want the host to connect to a different directory server than the one the host was
originally configured to connect to.
The LDAP-UX configuration was corrupted (an error indicates a component is corrupted).
A directory server user inadvertently deleted the host entry from the directory server. This
removes the proxy user required to connect to the directory server; to correct this, re-run
autosetup to recreate the host entry and re-establish user proxies.
NOTE: When configuring and setting up LDAP-UX, you will likely be prompted for credentials
of an administrator. If you are asked to enter the credentials (password) of a user, make sure
that the connection between your client and the HP-UX system (where you are running
autosetup) is secured and not subject to network eavesdropping. One option to protect such
communication may be to use the ssh protocol when connecting to the HP-UX host being
configured.
2.3.8.1 Interactively running Existing LDAP-UX Domain Installation mode
To interactively install LDAP-UX onto a host that is to join an existing LDAP-UX environment,
follow these steps. This example assumes that you pre-install a CA certificate, as described in
step 2.
1. Log in as root and run the autosetup command, as shown in the following example:
# /opt/ldapux/config/autosetup
2. Install the domain CA certificate product from the depot created when the original directory
server instance was created. Securely copy the /tmp/ca-mydomain.example.com.depot
file to your local host and install the Domain CA product using the following command:
swinstall -s /tmp/ca-mydomain.example.com.depot \*
If you skip this step, autosetup will prompt you whether to trust the directory server.
3. The autosetup script searches for a registered directory server in the local DNS domain
but does not find one, as indicated in the following example.
NOTE: The script searches for a registered server only if the directory server was not
specified with the -h option command-line option or LDAP_HOSTPORT environment variable.
If a registered directory server is found, autosetup uses that directory server automatically.
The script gives you the option of entering the host identification of the existing directory
server (along with two other options). In this example, the existing directory server is the
one created in Section 2.3.6 (page 44). The installer specifies it's host name acct1053 (a
directory server already exists, so a new directory server instance will not be created).
Scanning DNS domain "west.hp.com" for any registered LDAP directory servers...
- No directory servers found.
Please enter the host name and port number of a directory server,
54 Installing and configuring LDAP-UX Client Services