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

Instructions for installing LDAP-UX for the first time in an existing directory server
environment are described in “Guided installation steps: Existing Directory Server Installation
mode” (page 50).
Installing LDAP-UX into an existing LDAP-UX domain (Existing LDAP-UX Domain
Installation mode): In this scenario, LDAP-UX has already been configured in the
environment. You can then use the guided installation to join the HP-UX host to an existing
LDAP-UX domain or to a Windows ADS domain. The guided installation simply downloads
the existing domain configuration (LDAP-UX configuration profile) and registers the host
in the domain.
In this scenario, the guided installation prompts you for similar input as does the preceding
scenario, and if you have not pre-installed the CA certificate, you will also be asked if you
want to trust the directory server.
Instructions for installing LDAP-UX into an existing LDAP-UX domain are described in
“Guided installation steps: Existing LDAP-UX Domain Installation mode” (page 53).
NOTE: You can install LDAP-UX into an existing LDAP B.04.xx environment; however,
the hosts search descriptor serviceSearchDescriptor in the LDAP-UX configuration
profile will likely define an incorrect location for host entries (it should be ou=hosts). Host
tools expect the correct location for host entries to be defined in the configuration profile. If
the location is incorrect, the ldaphostmgr tool will add hosts to an incorrect location in the
directory tree.
The guided installation (with LDAP-UX B.05.00 or later) configures the profile with the
correct location for host entries. If you are installing LDAP-UX into an LDAP-UX environment
that has not been set up by the guided installation, ensure that the correct location is specified
in the profile (normally, that is ou=hosts). To determine the location configured for hosts
in the LDAP-UX configuration profile, you can use the following command:
/opt/ldapux/bin/ldapcfinfo -t hosts -b
If you need to modify the configuration profile, you can modify the
serviceSearchDescriptor attribute for the hosts service. For information about how
to modify the LDAP-UX configuration profile, see “Modifying a configuration profile”
(page 183).
In all three scenarios, you configure LDAP-UX on the local host for the first time. Scenario 1
introduces the LDAP-UX domain to your organization, creates a directory server and a new
LDAP-UX configuration profile, configures your local HP-UX host and joins the host to the
LDAP-UX domain. Scenario 2 introduces the LDAP-UX domain to your organization using an
existing directory server, creates a new LDAP-UX configuration profile, configures your local
HP-UX host and joins the host to the LDAP-UX domain. Scenario 3 configures your local HP-UX
host based on an existing directory servers' LDAP-UX configuration profile and joins the host
to the existing LDAP-UX domain.
If no valid directory server software is installed on the local system, the guided installation
prompts you for the name of an existing remote directory server or Windows ADS domain. If
the specified directory server or Windows domain is not found, the guided installation aborts.
2.3.1 What autosetup does
As mentioned, the guided installation (autosetup) greatly simplifies the configuration process.
The procedure performs numerous activities automatically, with minimal input required from
whoever runs the script, including the following:
1. Automatically detects existing directory servers by querying the DNS server of the DNS
domain for any registered directory servers, and then tries to connect to the directory server
with a search request. If multiple SRV resource records are returned, autosetup stops
2.3 Guided installation (autosetup) 25