Simple Authentication Security Layer Library Functions
sasl_errors(3SASL)
NAME
sasl_errors - SASL error codes
SYNOPSIS
#include
DESCRIPTION
This man page describes the general error codes that can be returned by calls into the SASL library. The meaning of the error code can vary slightly based upon the context of the call from which it is returned.ERRORS
Common Result CodesSASL_OK The call was successful.
SASL_CONTINUE Another step is required for authentica-
tion.SASL_FAILURE Generic failure.
SASL_NOMEM Memory shortage failure.
SASL_BUFOVER Overflowed buffer.
SASL_NOMECH The mechanism was not supported, or no
mechanisms matched the requirements.SASL_BADPROT The protocol was bad, invalid or cancelled.
SASL_NOT DONE Cannot request information. Not applicable
until later in the exchange.SASL_BADPARAM An invalid parameter was supplied.
SASL_TRYAGAIN Transient failure, for example, a weak key.
SASL_BADMAC Integrity check failed.
SunOS 5.11 Last change: 14 Oct 2003 1
Simple Authentication Security Layer Library Functionssasl_errors(3SASL)
SASL_NOTINIT SASL library not initialized.
Client Only Result CodesSASL_INTERACT Needs user interaction.
SASL_BADSERV Server failed mutual authentication step.
SASL_WRONGMECH Mechanism does not support the requested
feature. Server Only Result CodesSASL_BADAUTH Authentication failure.
SASL_NOAUTHZ Authorization failure.
SASL_TOOWEAK The mechanism is too weak for this user.
SASL_ENCRYPT Encryption is needed to use this mechanism.
SASL_TRANS One time use of a plaintext password will
enable requested mechanism for user.SASL_EXPIRED The passphrase expired and must be reset.
SASL_DISABLED Account disabled.
SASL_NOUSER User not found.
SASL_BADVERS Version mismatch with plug-in.
SASL_NOVERIFY The user exists, but there is no verifier
for the user. Password Setting Result CodesSASL_PWLOCK Passphrase locked.
SunOS 5.11 Last change: 14 Oct 2003 2
Simple Authentication Security Layer Library Functionssasl_errors(3SASL)
SASL_NOCHANGE The requested change was not needed.
SASL_WEAKPASS The passphrase is too weak for security
policy.SASL_NOUSERPASS User supplied passwords are not permit-
ted.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_______________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|________________________________|
| Availability | system/library/security/libsasl||_____________________________|________________________________|
| Interface Stability | Committed ||_____________________________|________________________________|
| MT-Level | Safe |
|_____________________________|________________________________|
SEE ALSO
attributes(5)SunOS 5.11 Last change: 14 Oct 2003 3
Simple Authentication Security Layer Library Functionssasl_errors(3SASL)
SunOS 5.11 Last change: 14 Oct 2003 4