1sasl_server_userdb_setpass_t(10 Julys2a0s0l1_)server_userdb_setpass_t(10 July 2001)
2
3
4
6 sasl_server_userdb_setpass_t - UserDB Plaintext Password Setting Call‐
7 back
8
9
11 #include <sasl/sasl.h>
12
13
14 int sasl_server_userdb_setpass_t(sasl_conn_t *conn,
15 void *context,
16 const char *user,
17 const char *pass,
18 unsigned passlen,
19 struct propctx *propctx,
20 unsigned flags)
21
22
24 sasl_server_userdb_setpass_t is used to store or change a plaintext
25 password in the callback-supplier's user database.
26
27 context context from the callback record
28
29 user NUL terminated user name with user@realm syntax
30
31 pass password to check (may not be NUL terminated)
32
33 passlen length of the password
34
35 propctx Auxilliary Properties (not stored)
36
37 flags These are the same flags that are passed to sasl_setpass(3), and
38 are documented on that man page.
39
40
42 SASL callback functions should return SASL return codes. See sasl.h for
43 a complete list. SASL_OK indicates success.
44
45
47 sasl(3), sasl_callbacks(3), sasl_errors(3), sasl_server_userdb_check‐
48 pass_t(3), sasl_setpass(3)
49
50
51
52SASL man pages sSaAsSlL_server_userdb_setpass_t(10 July 2001)