LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
On ADS, this attribute does not exist by default and would require
modifying the ADS schema to add this attribute type. Refer to the
ldapschema(1M) manpage and the /etc/opt/ldapux/schema/
ldapux50.xml file provided.
-x domain Short, conventional, name of the domain. This option pecifie the
value for the entityDomain attribute. Only one domain may be
specified. If ! alone is specified, or is specified at the beginning of
the domain, the domain is removed. On ADS, this value is not used
because the location of the host is implied by its location in the
directory tree. Instead, refer to the -D or -C options to control the
domain of a host managed in ADS.
-A attrval Specifies an attribute and value to be added to an entry. The format
of attrval is attribute=value, where attribute is the
name of the attribute to add, and value is the specific instance of
that attribute. The -A option is used when working with multi-valued
attributes, to add a new value for a multi-valued attribute without
removing already existing values for that attribute. Note that use of
the –A option interacts with the optional attr=value parameters.
The -A option may be specified more than once per command line.
The value portion of the attrval can be an empty string.
If you add a new attribute type to an entry, you also must add the
associated object class if that object class is not already part of the
host entry.
-R attrval Specifies an attribute or specific values of an attribute to be removed
from the entry. The format of attrval is attribute[=value],
where attribute is the name of the attribute to remove, and
value is the specific instance of that attribute if the attribute is
multi-valued. Note that use of the -R option interacts with the
optional attr=value parameters. The -R option may be specified
more than once per command line.
-B relbase Specifies where the host entry should be found/created. However,
instead if specifying a full base DN, relbase is relative to the
default search base configured in LDAP-UX (refer to the -b option
of the ldapcfinfo(1M) command.) For example, if the default search
base is dc=example,dc=org and -B ou=mycomputers is
specified, then the default parent for the host will be
ou=mycomputers,dc=example,dc=org. If the -a option is
specified, then the new host entry is created under the resulting DN.
If the -m option is specified, then only the resulting DN is used for
the search base when discovering hosts. And if the -d option is
specified, then ldaphostmgr searches for hosts to delete only
under the resulting DN. The resulting parent DN is assumed to
already exist in the directory server. It is not created, even when
the -a or -F options are specified.
-E envfile Read environment variables from a file using the following syntax
for the file format:
ENV_NAME=value
where value can be quoted. The quote (ASCII 34) character and
the escape character (backslash ASCII 92) must always be escaped
if they are part of the value itself. For example:
LDAP_HOSTCRED="Rfxw-\"92"
336 Command and tool reference