1sasl_server_uSsiemrpdlbe_cAhuetchkepnatsisc_att(i3oSnASSLe)curitysaLsaly_esrerLviebrr_aursyerFdubn_ccthieocnkspass_t(3SASL)
2
3
4

NAME

6       sasl_server_userdb_checkpass_t  - plaintext password verification call‐
7       back function
8

SYNOPSIS

10       cc [ flag ... ] file ... -lsasl   [ library ... ]
11       #include <sasl/sasl.h>
12
13       int sasl_sasl_server_userdb_checkpass_t(sasl_conn_t *conn, void *context,
14            const char *user, const char *pass, unsigned passlen, struct propctx *propctx);
15
16

DESCRIPTION

18       Use the sasl_sasl_server_userdb_checkpass_t() callback function to ver‐
19       ify a plaintext password against the callback supplier's user database.
20       Verification allows additional ways to encode  the  userPassword  prop‐
21       erty.
22

PARAMETERS

24       conn       The SASL connection context.
25
26
27       context    The context from the callback record.
28
29
30       user       A null-terminated user name with user@realm syntax.
31
32
33       pass       The  password  to  check.  This string cannot be null-termi‐
34                  nated.
35
36
37       passlen    The length of pass.
38
39
40       propctx    The property context to fill in with userPassword.
41
42

RETURN VALUES

44       Like other SASL  callback  functions,  sasl_server_userdb_checkpass_t()
45       returns  an integer that corresponds to a SASL error code. See <sasl.h>
46       for a complete list of SASL error codes.
47

ERRORS

49       SASL_OK    The call to sasl_server_userdb_checkpass_t() was successful.
50
51
52
53       See sasl_errors(3SASL) for information on SASL error codes.
54

ATTRIBUTES

56       See attributes(5) for descriptions of the following attributes:
57
58
59
60
61       ┌─────────────────────────────┬─────────────────────────────┐
62       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
63       ├─────────────────────────────┼─────────────────────────────┤
64       │Availability                 │SUNWlibsasl                  │
65       ├─────────────────────────────┼─────────────────────────────┤
66       │Interface Stability          │Evolving                     │
67       ├─────────────────────────────┼─────────────────────────────┤
68       │MT-Level                     │MT-Safe                      │
69       └─────────────────────────────┴─────────────────────────────┘
70

SEE ALSO

72       sasl_errors(3SASL), attributes(5)
73
74
75
76SunOS 5.11                        27 Oct 2s0a0s3l_server_userdb_checkpass_t(3SASL)
Impressum