1sasl_server_userdb_checkpass_t(10 Jsualsyl_2s0e0r1v)er_userdb_checkpass_t(10 July 2001)
2
3
4

NAME

6       sasl_server_userdb_checkpass_t  - Plaintext Password Verification Call‐
7       back
8
9

SYNOPSIS

11       #include <sasl/sasl.h>
12
13
14       int sasl_canon_user_t(sasl_conn_t *conn,
15                             void *context,
16                         const char *user, unsigned ulen,
17                             unsigned flags,
18                             const char *user_realm,
19                             char *out_user, unsigned out_umax,
20                             unsigned *out_ulen)
21
22

DESCRIPTION

24       sasl_canon_user_t Is the  callback  for  an  application-supplied  user
25       canonicalization  function.   This  function is subject to the require‐
26       ments that all user canonicalization functions are: It  must  copy  the
27       result  into  the  output buffers, but the output buffers and the input
28       buffers may be the same.
29
30       context context from the callback record
31
32       user and ulen Un-canonicalized username (and length)
33
34       flags Either SASL_CU_AUTHID (indicating the authentication ID is  being
35       canonicalized)  or  SASL_CU_AUTHZID (indicating the authorization ID is
36       to be canonicalized) or a bitwise OR of the the two.
37
38       user_realm Realm of authentication.
39
40       out_user and out_umax and out_ulen The output buffer, max  length,  and
41       actual length for the username.
42
43

RETURN VALUE

45       SASL callback functions should return SASL return codes. See sasl.h for
46       a complete list. SASL_OK indicates success.
47
48

SEE ALSO

50       sasl(3), sasl_callbacks(3), sasl_errors(3)
51
52
53
54SASL man pages                    sasSlA_SsLerver_userdb_checkpass_t(10 July 2001)
Impressum