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