SASL_ERRORS(3)
π NAME π
sasl_errors β the Cyrus SASL documentation bestie, aka your cheat sheet for every error code this library can throw at you β¨
π¦ SYNOPSIS π¦
#include <sasl/sasl.h>
πΈ DESCRIPTION πΈ
okay so listen. every time you call into the SASL library, it might hand you back one of these general error codes, and each one has a meaning β tho ngl the exact vibe can shift a lil depending on context. here's the whole roster, no skips, no cuts π
π Common Result Codes π
these are the ones everybody meets. main character codes fr.
SASL_OKβ it worked!! success, we ate, periodt πSASL_CONTINUEβ not done yet bestie, authentication needs another step πSASL_FAILβ generic failure, the classic "something went wrong" πSASL_NOMEMβ memory shortage failure, we ran out of RAM πSASL_BUFOVERβ the buffer overflowed, it's giving spilled drink π₯€SASL_NOMECHβ mechanism not supported / no mechanisms matched your requirements π«SASL_BADPROTβ bad / invalid protocol, or protocol cancel πSASL_NOTDONEβ you cannot request that information / it's not applicable until later in the exchange, patience babes β³SASL_BADPARAMβ you supplied an invalid parameter, girl what was that πSASL_TRYAGAINβ transient failure (e.g. weak key), so literally just try again πSASL_BADMACβ integrity check failed, the vibe check did NOT pass π¬SASL_NOTINITβ the SASL library is not initialized, she's not even awake yet π€
π§ Client-only Result Codes π§
only the client side gets these, iykyk
SASL_INTERACTβ needs user interaction, so go talk to a human π«ΆSASL_BADSERVβ the server failed the mutual authentication step, not our fault bestie πSASL_WRONGMECHβ this mechanism doesn't support the feature you asked for π«
π Server-only Result Codes π
server girlies only, no clients allowed
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 the requested mechanism for the user β¨SASL_EXPIREDβ passphrase expired, it must be reset β°SASL_DISABLEDβ account disabled, she's on pause π«SASL_NOUSERβ user not found, ghosted fr π»SASL_BADVERSβ version mismatch with the plug-in π΅SASL_NOVERIFYβ the user exists, but there's no verifier for the user π€·
π Password Setting Result Codes π
the ones that show up when you're setting passwords
SASL_PWLOCKβ passphrase locked πSASL_NOCHANGEβ the requested change wasn't needed, nothing to do here πSASL_WEAKPASSβ passphrase is too weak for security policy, security said no π¨SASL_NOUSERPASSβ user supplied passwords are not permitted π«
π CONFORMING TO π
RFC 4422 β yes bestie, it's standards compliant, we love a certified icon π
β SEE ALSO β
sasl(3)β go read this one next, fr fr
π AUTHOR π
The Cyrus Team β legends, honestly π«Ά
π COPYRIGHT π
1993-2016, The Cyrus Team
and that's the whole page babes β¨ this was Cyrus SASL version 2.1.28, dated February 18, 2022 β go forth and handle your error codes like the main character you are π
πΈπ
π¦ where this page comes from
- alpine 3.22: cyrus-sasl-doc 2.1.28-r8 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- alpine 3.23: cyrus-sasl-doc 2.1.28-r9 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- alpine 3.24: cyrus-sasl-doc 2.1.28-r9 Β· BSD-3-Clause-Attribution AND BSD-4-Clause
- centos-stream 10: cyrus-sasl-devel 2.1.28-27.el10 Β· BSD-Attribution-HPND-disclaimer
- fedora 43: cyrus-sasl-devel 2.1.28-33.fc43 Β· BSD-Attribution-HPND-disclaimer
- fedora 43: cyrus-sasl-devel 2.1.28-33.fc43 Β· BSD-Attribution-HPND-disclaimer
- fedora 44: cyrus-sasl-devel 2.1.28-35.fc44 Β· BSD-Attribution-HPND-disclaimer
- fedora 44: cyrus-sasl-devel 2.1.28-35.fc44 Β· BSD-Attribution-HPND-disclaimer
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-bdb-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- opensuse-leap 16.0: cyrus-sasl-devel 2.1.28-160000.4.1 Β· BSD-4-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms