LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Server Administrator's Guide (edition 8)

Table Of Contents
This command adds an instance of the cn attribute, cn=Joesh Scott to the entry. The result
of the user entry is as follows:
dn: uid=jscott,ou=users,dc=org,dc=example,dc=com
cn: John Scott
cn: Joe Scott
cn: Joesh Scott
uid: jscott
uidNumber: 2500
gidNumber: 120
homeDirectory: /home/jscott
loginShell: /usr/bin/sh
gecos: John Scott,San Jose,+1 505-555-5000
Specific Return Codes for ldapugmod
The ldapugmod tool returns a list of return codes shown in Table C-8.
Table C-8 Return Codes for ldapugmod
MessageReturn Code
Cannot discover user's home directory information.
MOD_CANNOT_GET_USER_HOMEDIR
Member(s) need to be specified for the specified option.
For exmaple,
ldapugmod -t group -r ""
The output of the command is as follows:
ERROR: MOD_COMMANDLINE_ERR:
member(s) need to be specified for -r
option.
ldapugmod -t group -a ""
The output of the command is as follows:
ERROR: MOD_COMMANDLINE_ERR:
member(s) need to be specified for -a
option.
MOD_COMMANDLINE_ERR
Cannot remove user account from the specified group,
will be skipped.
MOD_MEMBER_SKIPPED
Duplicate modification requests are found in the
command options. For example,
ldapugmod -A "cn=Mike Lee" -A "cn=Mike Lee
mlee
After running the above command, ldapugmod exits
with the MOD_DUP_REQUEST error status because
duplicate modification requests are specified.
MOD_DUP_REQUEST
Conflict modification requests are found in the command
options.
MOD_CONFLICT_REQUEST
Rename entry's RDN failed.
MOD_RENAME_RDN_FAILED
The specified command deletes the existing value in the
RDN, but no new value for the RDN has been provided.
MOD_NEW_RDN_NEEDED
The account entry being added is already a member of
the specified group.
MOD_MEMBER_EXIST
The user's home directory does not exist.
MOD_HOMEDIR_DOESNOT_EXIST
Cannot move user's home directory, missing information.
MOD_MISSING_INFORMATION
210 Command, Tool, Schema Extension Utility, and Migration Script Reference