Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sasl_errors(3sasl) [opensolaris man page]

sasl_errors(3SASL)			      Simple Authentication Security Layer Library Functions				sasl_errors(3SASL)

NAME
sasl_errors - SASL error codes SYNOPSIS
#include <sasl/sasl.h> 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 Codes SASL_OK The call was successful. SASL_CONTINUE Another step is required for authentication. 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. SASL_NOTINIT SASL library not initialized. Client Only Result Codes SASL_INTERACT Needs user interaction. SASL_BADSERV Server failed mutual authentication step. SASL_WRONGMECH Mechanism does not support the requested feature. Server Only Result Codes SASL_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 Codes SASL_PWLOCK Passphrase locked. 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 permitted. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibsasl | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) SunOS 5.11 14 Oct 2003 sasl_errors(3SASL)

Check Out this Related Man Page

sasl_client_init(3SASL) 		      Simple Authentication Security Layer Library Functions			   sasl_client_init(3SASL)

NAME
sasl_client_init - initialize SASL client authentication SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/sasl.h> int sasl_client_init(const sasl_callback_t *callbacks); DESCRIPTION
Use the sasl_client_init() interface to initialize SASL. The sasl_client_init() interface must be called before any calls to sasl_client_start(3SASL). The call to sasl_client_init() initiallizes all SASL client drivers, for example, authentication mechanisms. SASL client drivers are usually found in the /usr/lib/sasl directory. PARAMETERS
callbacks Specifies the base callbacks for all client connections. RETURN VALUES
sasl_client_init() returns an integer that corresponds to a SASL error code. ERRORS
SASL_OK The call to sasl_client_init() was successful. SASL_BADVERS There is a mismatch in the mechanism version. SASL_BADPARAM There is an error in the configuration file. SASL_NOMEM There is not enough memory to complete the operation. All other error codes indicate an error situation that must be handled, or the authentication session should be quit. See sasl_errors(3SASL) for information on SASL error codes. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibsasl | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
sasl_errors(3SASL), attributes(5) NOTES
While most of libsasl is MT-Safe, no other libsasl function should be called until this function completes. SunOS 5.10 22 Oct 2003 sasl_client_init(3SASL)
Man Page