1SASL_ERRORS(3) Cyrus SASL SASL_ERRORS(3)
2
3
4
6 sasl_errors - Cyrus SASL documentation
7
9 #include <sasl/sasl.h>
10
12 The following are the general error codes that may be returned by
13 calls into the SASL library, and their meanings (that may vary
14 slightly based on context).
15
16 Common Result Codes
17 SASL_OK
18 Success
19
20 SASL_CONTINUE
21 Another step is needed in authentication
22
23 SASL_FAIL
24 Generic Failure
25
26 SASL_NOMEM
27 Memory shortage failure
28
29 SASL_BUFOVER
30 Overflowed buffer
31
32 SASL_NOMECH
33 Mechanism not supported / No mechanisms matched requirements
34
35 SASL_BADPROT
36 Bad / Invalid Protocol or Protocol cancel
37
38 SASL_NOTDONE
39 Cannot request information / Not applicable until later in ex‐
40 change
41
42 SASL_BADPARAM
43 Invalid Parameter Supplied
44
45 SASL_TRYAGAIN
46 Transient Failure (e.g. weak key)
47
48 SASL_BADMAC
49 Integrity Check Failed
50
51 SASL_NOTINIT
52 SASL library not initialized
53
54 Client-only Result Codes
55 SASL_INTERACT
56 Needs user interaction
57
58 SASL_BADSERV
59 Server failed mutual authentication step
60
61 SASL_WRONGMECH
62 Mechanism does not support requested feature
63
64 Server-only Result Codes
65 SASL_BADAUTH
66 Authentication Failure
67
68 SASL_NOAUTHZ
69 Authorization Failure
70
71 SASL_TOOWEAK
72 Mechanism too weak for this user
73
74 SASL_ENCRYPT
75 Encryption needed to use mechanism
76
77 SASL_TRANS
78 One time use of a plaintext password will enable requested
79 mechanism for user
80
81 SASL_EXPIRED
82 Passphrase expired, must be reset
83
84 SASL_DISABLED
85 Account Disabled
86
87 SASL_NOUSER
88 User Not Found
89
90 SASL_BADVERS
91 Version mismatch with plug-in
92
93 SASL_NOVERIFY
94 User exists, but no verifier for user
95
96 Password Setting Result Codes
97 SASL_PWLOCK
98 Passphrase locked
99
100 SASL_NOCHANGE
101 Requested change was not needed
102
103 SASL_WEAKPASS
104 Passphrase is too week for security policy.
105
106 SASL_NOUSERPASS
107 User supplied passwords are not permitted
108
110 RFC 4422
111
113 sasl(3)
114
116 The Cyrus Team
117
119 1993-2016, The Cyrus Team
120
121
122
123
1242.1.28 February 18, 2022 SASL_ERRORS(3)