1sasl_checkapoSpi(m3pSlAeSLA)uthentication Security Layer Library Fsuansclt_icohnesckapop(3SASL)
2
3
4

NAME

6       sasl_checkapop - check an APOP challenge or response
7

SYNOPSIS

9       cc [ flag ... ] file ... -lsasl   [ library ... ]
10       #include <sasl/sasl.h>
11
12       int sasl_checkapop(sasl_conn_t *conn, const char *challenge,
13            unsigned challen, const char *response, unsigned resplen);
14
15

DESCRIPTION

17       The  sasl_checkapop()  interface  checks an APOP challenge or response.
18       APOP is an option POP3 authentication command that uses a shared secret
19       password. See RFC 1939.
20
21
22       If  sasl_checkapop()  is called with a NULL challenge, sasl_checkapop()
23       will check to see if the APOP mechanism is enabled.
24

PARAMETERS

26       conn         The sasl_conn_t for which the request is being made
27
28
29       challenge    The challenge sent to the client
30
31
32       challen      The length of challenge
33
34
35       response     The client response
36
37
38       resplens     The length of response
39
40

RETURN VALUES

42       sasl_checkapop() returns an integer that corresponds to  a  SASL  error
43       code.
44

ERRORS

46       SASL_OK    Indicates that the authentication is complete
47
48
49
50       All other error codes indicate an error situation that must be handled,
51       or the authentication session should be  quit.  See  sasl_errors(3SASL)
52       for information on SASL error codes.
53

ATTRIBUTES

55       See attributes(5) for descriptions of the following attributes:
56
57
58
59
60       ┌─────────────────────────────┬─────────────────────────────┐
61       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
62       ├─────────────────────────────┼─────────────────────────────┤
63       │Interface Stability          │SUNWlibsasl                  │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │Interface Stability          │Obsolete                     │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │MT-Level                     │Safe                         │
68       └─────────────────────────────┴─────────────────────────────┘
69

SEE ALSO

71       sasl_errors(3SASL), attributes(5)
72
73
74       Meyers,  J.  and  Rose,  M. RFC 1939, Post Office Protocol - Version 3.
75       Network Working Group. May 1996.
76
77
78
79SunOS 5.11                        14 Oct 2003            sasl_checkapop(3SASL)
Impressum