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

NAME

6       sasl_server_userdb_setpass_t - Cyrus SASL documentation
7

SYNOPSIS

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

DESCRIPTION

20       int sasl_server_userdb_setpass_t(sasl_conn_t *conn,
21
22       void *context,
23
24       const char *user,
25
26       const char *pass,
27
28       unsigned passlen,
29
30       struct propctx *propctx,
31
32       unsigned flags)
33              sasl_server_userdb_setpass_t  is  used  to  store  or  change  a
34              plaintext password  in the callback‐supplier’s user database.
35
36              Parameters
37
38                     · conn – is the SASL connection
39
40                     · context – context from the callback record
41
42                     · user – NUL terminated user name with user@realm syntax
43
44                     · pass – password to check (may not be NUL terminated)
45
46                     · passlen – length of the password
47
48                     · propctx – Auxilliary Properties (not stored)
49
50                     · flags – These  are  the  same  flags  that  are  passed
51                       to  sasl_setpass(3),  and  are  documented  on that man
52                       page.
53

RETURN VALUE

55       SASL  callback  functions should return SASL return codes.  See  sasl.h
56       for a complete list. SASL_OK indicates success.
57
58       Other return codes indicate errors and should be handled.
59

SEE ALSO

61       RFC     4422,:saslman:sasl(3),     sasl_errors(3)    sasl_callbacks(3),
62       sasl_server_userdb_checkpass_t(3), sasl_setpass(3)
63

AUTHOR

65       The Cyrus Team
66
68       1993-2016, The Cyrus Team
69
70
71
72
732.1.27                         January 29, 2018SASL_SERVER_USERDB_SETPASS_T(3)
Impressum