Result codes used by multiple programs
Many Centrify command-line programs share a common set of result codes returned when an operation is successful or an error occurs. The following table lists the result codes that are reserved for use by Centrify command-line programs.
Result | Error name | Indicates |
0 |
ERR_SUCCESS |
Successful completion of the operation. |
6 |
ERR_OTHERS |
Miscellaneous errors occurred during the operation. |
7 |
ERR_USAGES |
Usage error occurred during the operation. |
8 |
ERR_OP_ABORTED |
Operation aborted by user. |
9 |
ERR_ROOT_PRIV |
Root privilege is required for the operation. |
10 |
ERR_NOT_JOINED |
Computer is not currently joined to any Active Directory domain. |
11 |
ERR_ALREADY_JOINED |
Computer is already joined to the current Active Directory domain. |
12 |
ERR_JOINED_ANOTHER_DOMAIN |
Computer is currently joined to another Active Directory domain. |
13 |
ERR_ADCLIENT_DOWN |
The adclient process is not running or not available. |
14 |
ERR_ADCLIENT_DISCONNECTED |
The adclient process is running in disconnected mode. |
15 |
ERR_ADLCIENT_STARTUP |
The adclient process failed to start. |
16 |
ERR_DNS_TIMEOUT |
The DNS server is not responding and may be down. |
17 |
ERR_DNS_GENERIC |
A generic DNS problem occurred during the operation. |
18 |
ERR_INVALID_DOMAIN_NAME |
The Active Directory domain name is incorrect or not found in DNS. |
19 |
ERR_INVALID_LOGON |
User name or password provided is not correct. |
20 |
ERR_ACCOUNT_DISABLED |
The account specified has been disabled. |
21 |
ERR_ACCOUNT_EXPIRED |
The account specified has expired. |
22 |
ERR_ACCOUNT_EXISTS |
The account specified already exists, |
23 |
ERR_ACCOUNT_NOTFOUND |
The account specified was not found in Active Directory. |
24 |
ERR_PASSWORD_EXPIRED |
The account password has expired. |
25 |
ERR_ZONE_NOTFOUND |
The zone cannot be found. |
26 |
ERR_CONTAINER_NOTFOUND |
Invalid Active Directory container object. |
27 |
ERR_INSUFFICIENT_PERM |
The account specified does not have permission to perform the operation. |
28 |
ERR_CLOCK_SKEW |
The time difference between system clocks is beyond the acceptable range. |
29 |
ERR_COMPUTER_NAME |
Invalid computer account. |
30 |
ERR_CRED_INVALID |
Invalid credentials. |
31 |
ERR_SERVICE_TKT_INVALID |
Invalid service ticket. |
32 |
ERR_POLICY_NOT_MATCH |
Policy not matched. |
33 |
ERR_REJECT_CHG_PASSWD |
Password change rejected. |
34 |
ERR_WORKSTATION_DENY |
Workstation denied. |
35 |
ERR_NOT_FIND_USER |
No matching user found. |
36 |
ERR_NOT_FIND_GROUP |
No matching group found. |
37 |
ERR_NOT_CONNECT_ADCLIENT |
An attempt to open a connection to the adclient process failed. |
38 |
ERR_ADLCIENT_STOP |
Unable to stop the adclient process. |
39 |
ERR_QUOTA_EXCEEDED |
The user has exceeded the number of join operations allowed. |
40 |
ERR_OPEN_FILE |
The attempt to open a file failed. |
41 |
ERR_READ_FILE |
The attempt to read a file failed. |
42 |
ERR_COPY_FILE |
The attempt to copy a file failed. |
For information about command-specific result codes, see the manual page for individual command‑line programs.