1SASL_CHECKPASS(3)                 Cyrus SASL                 SASL_CHECKPASS(3)
2
3
4

NAME

6       sasl_checkpass - Cyrus SASL documentation
7

SYNOPSIS

9       #include <sasl/sasl.h>
10
11       int sasl_checkpass(sasl_conn_t *conn,
12                        const char *user,
13                        unsigned userlen,
14                        const char *pass,
15                        unsigned passlen);
16

DESCRIPTION

18       int sasl_checkpass(sasl_conn_t *conn,
19
20       const char *user,
21
22       unsigned userlen,
23
24       const char *pass,
25
26       unsigned passlen)
27              sasl_checkpass   will check a plaintext password. This is needed
28              for protocols that had a login method  before  SASL (for   exam‐
29              ple   the  LOGIN  command in IMAP). The password is checked with
30              the pwcheck_method. See sasl_callbacks(3)   for  information  on
31              how this parameter is set.
32

RETURN VALUE

34       sasl_checkpass  returns an integer which corresponds to one of the fol‐
35       lowing codes. SASL_OK indicates that the authentication  is   complete.
36       All   other   return codes indicate errors and should either be handled
37       or the  authentication session  should  be  quit.   See  sasl_errors(3)
38       for meanings of return codes.
39

CONFORMING TO

41       RFC 4422
42

SEE ALSO

44       sasl(3), sasl_errors(3), sasl_callbacks(3), sasl_setpass(3)
45

AUTHOR

47       The Cyrus Team
48
50       1993-2016, The Cyrus Team
51
52
53
54
552.1.27                         January 29, 2018              SASL_CHECKPASS(3)
Impressum