LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
specified <home_directory> already exists, the user’s current
home directory does not exist or the user running ldapugmod does
not have sufficient permissions to move the directory, ldapugmod
returns an error.
-I <gecos> Replaces gecos fields for the user. If <gecos> is an empty string,
ldapugmod removes the gecos or mapped attributes.
Typically the gecos argument contains four fields which represent
in the following order:
• The user’s full name
• The user’s work location
• The user’s work telephone number
• The user’s home telephone number (often omitted)
Each field in the <gecos> argument must be separated by a
comma. Although the fields specified within the <gecos> argument
can contain white space (such as “Bill Smith,Building 6,555-1234”).
White space cannot be used between each field and the separating
commas.
LDAP-UX supports attribute mapping of the gecos field to multiple
attributes. If attribute mapping has been specified in the LDAP-UX
configuration profile, each field is mapped to its representative
attribute, in the order specified.
WARNING! If you specify the -I option and you have defined
attribute mapping for the gecos attribute, be careful not to specify
the same attributes in the command line that are also used in the
gecos map. In the following example, the gecos attribute has
been mapped to cn, l, and telephoneNumber attributes. The
following command can produce unpredictable results:
ldapugmod -I “lisa Hu,Austine,222-1234” lhu "cn=lisa
Hu” “sn=Hu”\
“telePhoneNumber=222-1234”
In the preceding example, because of the gecos attribute mapping,
the cn and telephoneNumber are specified twice, it results an
error when the same attribute and value are added to the directory
server. Use the ldapcfinfo tool to verify the gecos attribute
mapping configuration.
If the <gecos> argument is an empty string, ldapugmod removes
the gecos or mapped attributes. HP does not recommend that you
use the -I option, because the gecos attribute is often mapped to
required attributes. For information about impacts when using this
option, see Section 9.3.6.4 (page 320).
-c <comment> Replaces a comment that will be stored in the description
attribute as defined by RFC 2307. LDAP-UX does not support
attribute mappings for the description attribute.
<attr>=<value> Enables modification of arbitrary LDAP attributes and values. The
<value> parameter may be an empty string. However this usage
does not remove attributes and their values from the directory server.
Instead use the -R option to remove arbitrary attributes. For
318 Command and tool reference