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

NAME

6       sasl_server_userdb_checkpass_t - Cyrus SASL documentation
7

SYNOPSIS

9       #include <sasl/sasl.h>
10
11       int sasl_server_userdb_checkpass_t(sasl_conn_t *conn,
12               void *context,
13               const char *user,
14               const char *pass,
15               unsigned passlen,
16               struct propctx *propctx)
17

DESCRIPTION

19       int sasl_server_userdb_checkpass_t(sasl_conn_t *conn,
20
21       void *context,
22
23       const char *user,
24
25       const char *pass,
26
27       unsigned passlen,
28
29       struct propctx *propctx)
30              sasl_server_userdb_checkpass_t()  is  used to verify a plaintext
31              password against the callback supplier’s user database. This  is
32              to allow additional ways to encode the userPassword property.
33
34              Parameters
35
36                     · conn – is the SASL connection context
37
38                     · context – context from the callback record
39
40                     · user – NUL terminated user name with user@realm syntax
41
42                     · pass – password to check (may not be NUL terminated)
43
44                     · passlen – length of the password
45
46                     · propctx – property context to fill in with userPassword
47

RETURN VALUE

49       SASL   callback  functions should return SASL return codes.  See sasl.h
50       for a complete list. SASL_OK indicates success.
51
52       Other return codes indicate errors and should be handled.
53

SEE ALSO

55       RFC    4422,:saslman:sasl(3),     sasl_callbacks(3)     sasl_errors(3),
56       sasl_server_userdb_setpass_t(3)
57

AUTHOR

59       The Cyrus Team
60
62       1993-2016, The Cyrus Team
63
64
65
66
672.1.27                         January 29, 201S8ASL_SERVER_USERDB_CHECKPASS_T(3)
Impressum