File: sasl_errors.rst.txt

package info (click to toggle)
cyrus-sasl2 2.1.27%2Bdfsg-2.1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 19,940 kB
  • sloc: ansic: 58,942; javascript: 8,745; sh: 4,843; java: 1,614; xml: 1,498; makefile: 1,265; python: 342; perl: 199
file content (163 lines) | stat: -rw-r--r-- 2,727 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
.. saslman:: sasl_errors(3)

.. _sasl-reference-manpages-library-sasl_errors:

==================================
**sasl_errors** - SASL error codes
==================================

Synopsis
========

.. code-block:: C

    #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
-------------------

.. c:macro:: SASL_OK

    Success

.. c:macro:: SASL_CONTINUE

       Another step is needed in authentication

.. c:macro:: SASL_FAIL

       Generic Failure

.. c:macro:: SASL_NOMEM

       Memory shortage failure

.. c:macro:: SASL_BUFOVER

       Overflowed buffer

.. c:macro:: SASL_NOMECH

       Mechanism  not  supported  / No mechanisms matched
       requirements

.. c:macro:: SASL_BADPROT

       Bad / Invalid Protocol or Protocol cancel

.. c:macro:: SASL_NOTDONE

       Cannot request information / Not  applicable  until
       later in exchange

.. c:macro:: SASL_BADPARAM

       Invalid Parameter Supplied

.. c:macro:: SASL_TRYAGAIN

       Transient Failure (e.g. weak key)

.. c:macro:: SASL_BADMAC

        Integrity Check Failed

.. c:macro:: SASL_NOTINIT

        SASL library not initialized


Client-only Result Codes
------------------------

.. c:macro:: SASL_INTERACT

       Needs user interaction

.. c:macro:: SASL_BADSERV

       Server failed mutual authentication step

.. c:macro:: SASL_WRONGMECH

       Mechanism does not support requested feature


Server-only Result Codes
------------------------

.. c:macro:: SASL_BADAUTH

       Authentication Failure

.. c:macro:: SASL_NOAUTHZ

       Authorization Failure

.. c:macro:: SASL_TOOWEAK

       Mechanism too weak for this user

.. c:macro:: SASL_ENCRYPT

       Encryption needed to use mechanism

.. c:macro:: SASL_TRANS

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

.. c:macro:: SASL_EXPIRED

       Passphrase expired, must be reset

.. c:macro:: SASL_DISABLED

       Account Disabled

.. c:macro:: SASL_NOUSER

       User Not Found

.. c:macro:: SASL_BADVERS

       Version mismatch with plug-in

.. c:macro:: SASL_NOVERIFY

       User exists, but no verifier for user

Password Setting Result Codes
-----------------------------

.. c:macro:: SASL_PWLOCK

       Passphrase locked

.. c:macro:: SASL_NOCHANGE

       Requested change was not needed

.. c:macro:: SASL_WEAKPASS

       Passphrase is too week for security policy.

.. c:macro:: SASL_NOUSERPASS

       User supplied passwords are not permitted

Conforming to
=============

:rfc:`4422`

See Also
========

:saslman:`sasl(3)`