Scroll to navigation

sasl_errors(3) SASL man pages sasl_errors(3)

NAME

sasl_errors - SASL error codes

SYNOPSIS

#include <sasl/sasl.h>

DESCRIPTION

The following are the general error codes that may be returned by calls into the SASL library, and their meanings (that may vary slightly based on context):

Common Result Codes

Success
Another step is needed in authentication
Generic Failure
Memory shortage failure
Overflowed buffer
Mechanism not supported / No mechanisms matched requirements
Bad / Invalid Protocol or Protocol cancel
Can't request information / Not applicable until later in exchange
Invalid Parameter Supplied
Transient Failure (e.g. weak key)
Integrity Check Failed
SASL library not initialized

Client-only Result Codes

Needs user interaction
Server failed mutual authentication step
Mechanism does not support requested feature

Server-only Result Codes

Authentication Failure
Authorization Failure
Mechanism too weak for this user
Encryption needed to use mechanism
One time use of a plaintext password will enable requested mechanism for user
Passphrase expired, must be reset
Account Disabled
User Not Found
Version mismatch with plug-in
USer exists, but no verifier for user

Password Setting Result Codes

Passphrase locked
Requested change was not needed
Passphrase is too week for security policy.
User supplied passwords are not permitted

CONFORMING TO

RFC 4422

SEE ALSO

sasl(3)

10 July 2001 SASL