1sasl_server_userdb_checkpass_t(3)SASL man pagessasl_server_userdb_checkpass_t(3)
2
3
4
6 sasl_server_userdb_checkpass_t - Plaintext Password Verification Call‐
7 back
8
9
11 #include <sasl/sasl.h>
12
13
14 int sasl_server_userdb_checkpass_t(sasl_conn_t *conn,
15 void *context,
16 const char *user,
17 const char *pass,
18 unsigned passlen,
19 struct propctx *propctx)
20
21
23 sasl_server_userdb_checkpass_t is used to verify a plaintext password
24 against the callback supplier's user database. This is to allow addi‐
25 tional ways to encode the userPassword property.
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 property context to fill in with userPassword
36
37
39 SASL callback functions should return SASL return codes. See sasl.h for
40 a complete list. SASL_OK indicates success.
41
42
44 sasl(3), sasl_callbacks(3), sasl_errors(3), sasl_server_userdb_set‐
45 pass_t(3)
46
47
48
49SASL 10 July 2001sasl_server_userdb_checkpass_t(3)