1sasl_authorize_t(10 July 2001)                  sasl_authorize_t(10 July 2001)
2
3
4

NAME

6       sasl_authorize_t - The SASL authorization callback
7
8
9

SYNOPSIS

11       #include <sasl/sasl.h>
12
13
14       int sasl_authorize_t(void *context,
15                           const char *requested_user, unsigned alen,
16                           const char *auth_identity, unsigned alen,
17                           const char *def_realm, unsigned urlen,
18                           struct propctx *propctx)
19
20

DESCRIPTION

22       sasl_authorize_t   is   used  to  check  whether  the  authorized  user
23       auth_identity may act as the user requested_user.  For example the user
24       root  may wish to authenticate with his credentials but act as the user
25       tmartin (with all of tmartin's rights not roots). A server  application
26       should  be  very careful, and probably err on the side of caution, when
27       determining which users may proxy as whom.
28

RETURN VALUE

30       SASL callback functions should return SASL return codes. See sasl.h for
31       a complete list. SASL_OK indicates success.
32
33

SEE ALSO

35       sasl(3), sasl_callbacks(3)
36
37
38
39SASL man pages                       SASL       sasl_authorize_t(10 July 2001)
Impressum