1sasl_errors(3SSiAmSpLl)e Authentication Security Layer Library Funcstaisoln_serrors(3SASL)
2
3
4
6 sasl_errors - SASL error codes
7
9 #include <sasl/sasl.h>
10
11
13 This man page describes the general error codes that can be returned by
14 calls into the SASL library. The meaning of the error code can vary
15 slightly based upon the context of the call from which it is returned.
16
18 Common Result Codes
19 SASL_OK The call was successful.
20
21
22 SASL_CONTINUE Another step is required for authentication.
23
24
25 SASL_FAILURE Generic failure.
26
27
28 SASL_NOMEM Memory shortage failure.
29
30
31 SASL_BUFOVER Overflowed buffer.
32
33
34 SASL_NOMECH The mechanism was not supported, or no mechanisms
35 matched the requirements.
36
37
38 SASL_BADPROT The protocol was bad, invalid or cancelled.
39
40
41 SASL_NOT DONE Cannot request information. Not applicable until later
42 in the exchange.
43
44
45 SASL_BADPARAM An invalid parameter was supplied.
46
47
48 SASL_TRYAGAIN Transient failure, for example, a weak key.
49
50
51 SASL_BADMAC Integrity check failed.
52
53
54 SASL_NOTINIT SASL library not initialized.
55
56
57 Client Only Result Codes
58 SASL_INTERACT Needs user interaction.
59
60
61 SASL_BADSERV Server failed mutual authentication step.
62
63
64 SASL_WRONGMECH Mechanism does not support the requested feature.
65
66
67 Server Only Result Codes
68 SASL_BADAUTH Authentication failure.
69
70
71 SASL_NOAUTHZ Authorization failure.
72
73
74 SASL_TOOWEAK The mechanism is too weak for this user.
75
76
77 SASL_ENCRYPT Encryption is needed to use this mechanism.
78
79
80 SASL_TRANS One time use of a plaintext password will enable
81 requested mechanism for user.
82
83
84 SASL_EXPIRED The passphrase expired and must be reset.
85
86
87 SASL_DISABLED Account disabled.
88
89
90 SASL_NOUSER User not found.
91
92
93 SASL_BADVERS Version mismatch with plug-in.
94
95
96 SASL_NOVERIFY The user exists, but there is no verifier for the
97 user.
98
99
100 Password Setting Result Codes
101 SASL_PWLOCK Passphrase locked.
102
103
104 SASL_NOCHANGE The requested change was not needed.
105
106
107 SASL_WEAKPASS The passphrase is too weak for security policy.
108
109
110 SASL_NOUSERPASS User supplied passwords are not permitted.
111
112
114 See attributes(5) for descriptions of the following attributes:
115
116
117
118
119 ┌─────────────────────────────┬─────────────────────────────┐
120 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
121 ├─────────────────────────────┼─────────────────────────────┤
122 │Availability │SUNWlibsasl │
123 ├─────────────────────────────┼─────────────────────────────┤
124 │Interface Stability │Evolving │
125 ├─────────────────────────────┼─────────────────────────────┤
126 │MT-Level │Safe │
127 └─────────────────────────────┴─────────────────────────────┘
128
130 attributes(5)
131
132
133
134SunOS 5.11 14 Oct 2003 sasl_errors(3SASL)