LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
already has been configured with LDAP-UX, this can be the DN of any user
with sufficient privilege to add a new computer account, and set a password
on that account. An example of a DN for this variable is
CN=Administrator,CN=Users,DC=ldaptest,DC=west,DC=com
Equivalent to using the -D option in the command line.
LDAP_BINDCRED Sets the password for the user defined by LDAP_BINDDN. Equivalent to using
the -j option in the command line (except this command-line option specifies
a file containing the password).
LDAP_DOMAIN Sets the name of the Windows Active Directory Server domain that will be
joined by the local HP-UX host (client); for example, nwest.acme.com.
Equivalent to using the -x option in the command line. Used only if the
LDAP_HOSTPORT is not specified.
LDAP_HOSTPORT Sets the host name (or IP address), and optionally the port number, of the
Windows Active Directory Server where the local HP-UX host (client) should
be added. Equivalent to using the -h and -p options in the command line.
The default host name is the fully-qualified DNS domain name of the host;
the default port is 389. Specify in one of the following formats:
host-name
host-name:port
ip-address
ip-address:port
LDAP_SSLPORT Specifies the port number for accessing the Windows Active Directory Server
host when SSL options are used. The default is 636.
3.3.2.3 autosetup command examples
The following are examples showing how to run autosetup with command-line options:
Example 9 autosetup: interactive mode with verbose set at the highest level
# autosetup -v 3
This command runs autosetup interactively, with verbose set at the highest level for debugging
purposes.
Example 10 autosetup: passing two parameters directly in the command line along with a password
file
# autosetup -D "cn=administrator, cn=users, dc=ldaptest, dc=west, dc=com" -j /tmp/jfile -x document.hp.com
This command specifies the domain administrator and a file that includes the password required
for the domain administrator of the directory server being created. The command also specifies
the Active Directory domain this host will join. When you invoke autosetup, you are not prompted
for these parameters.
Example 11 autosetup command for silent mode
# autosetup -h blipsa01 -D "cn=phil,cn=users,dc=document,dc=hp,dc=com" -j /tmp/jfile -q
This command specifies the host name of the Active Directory Server where the local host will be
added. In addition, it specifies the DN of a user who has privileges to add the host to the ADS
domain and a file that includes the password for this user.
3.3 Guided installation (autosetup) for a Windows ADS environment 121