sasl_errors - Man Page

Cyrus SASL documentation

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

SASL_OK

Success

SASL_CONTINUE

Another step is needed in authentication

SASL_FAIL

Generic Failure

SASL_NOMEM

Memory shortage failure

SASL_BUFOVER

Overflowed buffer

SASL_NOMECH

Mechanism  not  supported  / No mechanisms matched requirements

SASL_BADPROT

Bad / Invalid Protocol or Protocol cancel

SASL_NOTDONE

Cannot request information / Not  applicable  until later in exchange

SASL_BADPARAM

Invalid Parameter Supplied

SASL_TRYAGAIN

Transient Failure (e.g. 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 requested feature

Server-only Result Codes

SASL_BADAUTH

Authentication Failure

SASL_NOAUTHZ

Authorization Failure

SASL_TOOWEAK

Mechanism too weak for this user

SASL_ENCRYPT

Encryption needed to use mechanism

SASL_TRANS

One  time  use of a plaintext password will enable requested mechanism for user

SASL_EXPIRED

Passphrase expired, must be reset

SASL_DISABLED

Account Disabled

SASL_NOUSER

User Not Found

SASL_BADVERS

Version mismatch with plug-in

SASL_NOVERIFY

User exists, but no verifier for user

Password Setting Result Codes

SASL_PWLOCK

Passphrase locked

SASL_NOCHANGE

Requested change was not needed

SASL_WEAKPASS

Passphrase is too week for security policy.

SASL_NOUSERPASS

User supplied passwords are not permitted

Conforming to

RFC 4422

See Also

sasl(3)

Author

The Cyrus Team

Referenced By

sasl(3), sasl_auxprop(3), sasl_auxprop_request(3), sasl_callbacks(3), sasl_canon_user_t(3), sasl_chalprompt_t(3), sasl_checkapop(3), sasl_checkpass(3), sasl_client_start(3), sasl_client_step(3), sasl_decode(3), sasl_encode(3), sasl_encodev(3), sasl_errstring(3), sasl_getopt_t(3), sasl_getprop(3), sasl_getsimple_t(3), sasl_listmech(3), sasl_log_t(3), sasl_server_init(3), sasl_server_new(3), sasl_server_start(3), sasl_server_step(3), sasl_server_userdb_checkpass_t(3), sasl_server_userdb_setpass_t(3), sasl_setpass(3), sasl_setprop(3), sasl_user_exists(3), sasl_verifyfile_t(3).

February 18, 2022 2.1.28 Cyrus SASL