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

Table Of Contents
Specific Return Codes for ldapugadd
The ldapugadd tool returns a list of return codes shown in Table C-7.
Table C-7 Return Codes for ldapugadd
MessageReturn Code
Failed to add a user to the group.
ADD_USER_TO_GRP_FAILED
Specified Skeleton directory does not exist.
ADD_SKELDIR_DOESNOT_EXIST
When ldapugadd failed the internal putenv function
call with the specified bind environment variable, it
returns this error.
ADD_SETENV_FAILED
Information is missing. For examples, uid number is
missing, group number is missing.
ADD_INFO_MISSING
Failed to get a valid gid number or uid number when
creating a new user or group entry.
ADD_GETNUM_FAILED
A syntax error exists in the specified template file.
ADD_SYNTAX_ERR
Attribute is required. For examples, attribute “sn” is
required, attribute “telephonenumber” is required.
ADD_ATTR_REQUIRED
Specified option has invalid range value. For example,
option -u has invalid range value.
ADD_NUM_RANGE_ERR
Option -g <default_gid> or -g
<min_gid>:<max_gid> has been specified more than
once.
ADD_WRONG_G_OPT
You do not have the permission to alter
/etc/opt/ldapux/ldapug.conf.
ADD_NOT_PERMIT
The specified keyword value is invalid, ldapugadd
ignored the keyword. For example, if /net/bin/jsh
does not exist in the system, the ldapugadd -D -s
/net/bin/jsh command displays the following
warnings:
WARNING: LOGIN_SHELL_DOESNOT_EXIST:
Login shell /net/bin/jsh' does not exist.
WARNING: ADD_INVALID_KEY
Invalid keyword (default_loginShell),
ignored.
ADD_INVALID_KEYWORD
Failed to rename the internal temporary file to
/etc/opt/ldapux/ldapug.conf.
ADD_RENAME_FAILED
A specific operation has been updated successfully. For
example, “uidnumber_range” defined in ldapug.conf
has been updated successfully.
ADD_UPDATE_OK
Option -m is not specified, therefore, -k ignored when
adding a new account.
ADD_K_IGNORED
DN has been specified more than once.
ADD_TWO_DN_ERR
Options -g and -e cannot be specified at the same time.ADD_GID_GNAME_ERR
The specified group does not exist in the LDAP directory.
Could not add a user to the specified group.
ADD_NOT_IN_LDAP
Failed to update the default value in
/etc/opt/ldapuux_ldapug.conf.
ADD_FAIL_TO_UPDATE
The LDAP add operation failed.
ADD_FAILED
198 Command, Tool, Schema Extension Utility, and Migration Script Reference