Index Index for
Section 3
Index Alphabetical
listing for S
Bottom of page Bottom of
page

sasl_authorize_t(3)

NAME

sasl_authorize_t - The SASL authorization callback

SYNOPSIS

#include <sasl.h> int sasl_authorize_t( void *context, const char *auth_identity, const char *requested_user, const char **user, const char **errstr);

DESCRIPTION

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

RETURN VALUE

SASL callback functions should return SASL return codes. See sasl_errors(3) for a complete list. SASL_OK indicates success.

CONFORMING TO

RFC 2222

SEE ALSO

sasl(3), sasl_callbacks(3), sasl_errors(3)

Index Index for
Section 3
Index Alphabetical
listing for S
Top of page Top of
page