2.2.4 Standard Failure Responses
SUNRPC defines a set of standard responses to requests that the User Name Mapping Protocol server is unable to service. The following tables list the set of status codes that can be returned by the User Name Mapping Protocol server.
If SUNRPC status is MSG_ACCEPTED.
|
Accept status |
|---|
|
SUCCESS |
|
PROG_UNAVAIL |
|
PROG_MISMATCH |
|
PROC_UNAVAIL |
|
GARBAGE_ARGS |
|
SYSTEM_ERR |
If SUNRPC status is MSG_DENIED.
|
Reject status |
Reason rejected |
|---|---|
|
RPC_MISMATCH |
|
|
AUTH_ERROR |
AUTH_BADCRED |
These status codes have the following meanings:
SUCCESS: RPC call executed successfully ([RFC1057]).
PROG_UNAVAIL: Wrong PROGRAM_NUMBER for the port ([RFC1057]).
PROG_MISMATCH: Unsupported protocol version number requested ([RFC1057]).
PROC_UNAVAIL: Nonexistent procedure number requested ([RFC1057]).
GARBAGE_ARGS: Supplied arguments illegal or otherwise not decodable ([RFC1057]).
SYSTEM_ERR: Errors like memory allocation failure ([RFC1831]).
RPC_MISMATCH: Invalid SUNRPC version number ([RFC1057]).
AUTH_ERROR: Remote cannot authenticate caller ([RFC1057]).
AUTH_BADCRED: Bad credentials in RPC call ([RFC1057]).<3>