Content-type: text/html Man page of sasl_errors

sasl_errors

Section: Simple Authentication Security Layer Library Functions (3SASL)
Updated: 14 Oct 2003
Index Return to Main Contents
 

NAME

sasl_errors - SASL error codes  

SYNOPSIS

#include <sasl/sasl.h>
 

DESCRIPTION

This man page describes the general error codes that may be returned by calls into the SASL library. The meaning of the error code may 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 TYPEATTRIBUTE VALUE
AvailabilitySUNWlibsasl
Interface StabilityEvolving
MT-LevelSafe

 

SEE ALSO

attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
ERRORS
Common Result Codes
Client Only Result Codes
Server Only Result Codes
Password Setting Result Codes
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:39:13 GMT, October 02, 2010