LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
-a and -m operations. If host_name is already fully qualified
(contains a domain), then the -f option has no effect. Only a
host_name is added to the entry. ldaphostmgr uses the
/etc/resolv.conf file to determine the domain.
If the -D option is specified, the value of the RDN (relative
distinguished name) is used to determine the host_name.
-S Displays the DN of the created, modified, or deleted host entry, at
the end of the output.
-v Displays additional information used to analyze and troubleshoot
usage issues.
-h servername Specifies the host name and optional port number
(servername:port) of the directory server where this entry should
be added. This option overrides the server list configured by
LDAP-UX. The servername field also supports specification of IPv4
and IPv6 addresses. If you specify a port for an IPv6 address, the
IPv6 address must be specified in square-bracketed form. If the
optional port is unspecified, the port number is assumed to be 389
or 636 for SSL connections (-Z). For more information about how
ldaphostmgr binds to the directory server, see Section 9.3.8.4
(page 337).
-G group Specifies a group to which this host should be added or removed
as a member. The group entry must already exist and the object
class must be either a groupOfNames or groupOfUniqueNames.
Specify the group as:
[!]short_name|DN
Where short_name is the name of the group as found in the cn
attribute of the group. If the short_name is used, the search base
specified in the LDAP-UX configuration profile for the group service
is used to determine where to find the groups. However, the search
filter from the profile is not used, instead forcing the groups found
to be of type groupOfNames or groupOfUniqueNames. If more
than one group is found with the same name, an error is returned.
If the ! option is specified, the host is removed as a member from
the specified group. If the ! is specified by itself, the host is removed
from all groups of which it is a member.
The -G option may be specified more than once.
-O owner Specifies the owner of the host. If the HP-UX Directory Server was
installed using the LDAP-UX guided installation, access control
instructions are created such that the owner of the host is granted
administrative rights to manage data about the host, and change
the ssh keys for the host. The owner may be specified as either an
individual or a group:
[!]DN
[!]user: user_name
[!]group:group_name
Where user_name is a UNIX account name and group_name is
a UNIX group name, that is maintained in the LDAP directory server.
If the optional ! (ASCII 33) character is specified, the resulting user
or group is removed as an owner of the host. If ! is specified by
itself, all values of the owner attribute are removed from this entry.
Removing all owner attributes from an entry is not recommended
332 Command and tool reference