1SASL_AUTHORIZE_T(3) Cyrus SASL SASL_AUTHORIZE_T(3)
2
3
4
6 sasl_authorize_t - Cyrus SASL documentation
7
9 #include <sasl/sasl.h>
10
11
12 int sasl_authorize_t(void *context,
13 const char *requested_user, unsigned alen,
14 const char *auth_identity, unsigned alen,
15 const char *def_realm, unsigned urlen,
16 struct propctx *propctx)
17
19 sasl_authorize_t is used to check whether the authorized user
20 auth_identity may act as the user requested_user. For example
21 the user root may wish to authenticate with his credentials but act as
22 the user mmercer (with all of mmercer’s rights not roots). A server
23 application should be very careful, and probably err on the side of
24 caution, when determining which users may proxy as whom.
25
27 SASL callback functions should return SASL return codes. See sasl.h
28 for a complete list. SASL_OK indicates success.
29
31 sasl(3), sasl_callbacks(3)
32
34 The Cyrus Team
35
37 1993-2016, The Cyrus Team
38
39
40
41
422.1.27 November 08, 2018 SASL_AUTHORIZE_T(3)