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

NAME

6       sasl_checkapop - Check an APOP challenge/response
7

SYNOPSIS

9       #include <sasl/sasl.h>
10
11       int sasl_checkapop(sasl_conn_t *conn,
12                        const char *challenge,
13                        unsigned challen,
14                        const char *response,
15                        unsigned resplen);
16
17

DESCRIPTION

19       sasl_checkapop()  will  check  an  APOP challenge/response.  APOP is an
20       optional POP3 (RFC 1939) authentication command  which  uses  a  shared
21       secret (password). The password is stored in the SASL secrets database.
22       For information on the SASL shared  secrets  database  see  the  System
23       Administrators Guide in the doc/ directory of the SASL distribution.
24
25       If  called with a NULL challenge, sasl_checkapop() will check to see if
26       the APOP mechanism is enabled.
27
28

RETURN VALUE

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

CONFORMING TO

38       RFC 4422, RFC 1939
39

SEE ALSO

41       sasl(3), sasl_errors(3)
42
43
44
45SASL                             29 June 2001                sasl_checkapop(3)
Impressum