1sasl_checkpass(3)               SASL man pages               sasl_checkpass(3)
2
3
4

NAME

6       sasl_checkpass - Check a plaintext password
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
17

DESCRIPTION

19       sasl_checkpass()  will  check  a plaintext password. This is needed for
20       protocols that had a login method before SASL (for  example  the  LOGIN
21       command  in  IMAP). The password is checked with the pwcheck_method See
22       sasl_callbacks(3) for information on how this parameter is set.
23
24

RETURN VALUE

26       sasl_checkpass returns an integer which corresponds to one of the  fol‐
27       lowing  codes.  SASL_OK  indicates that the authentication is complete.
28       All other return codes indicate errors and should either be handled  or
29       the  authentication  session  should  be  quit.  See sasl_errors(3) for
30       meanings of return codes.
31
32

CONFORMING TO

34       RFC 4422
35

SEE ALSO

37       sasl(3), sasl_errors(3), sasl_callbacks(3), sasl_setpass(3)
38
39
40
41SASL                             10 July 2001                sasl_checkpass(3)
Impressum