1SASL_CLIENT_INIT(3)               Cyrus SASL               SASL_CLIENT_INIT(3)
2
3
4

NAME

6       sasl_client_init - Cyrus SASL documentation
7

SYNOPSIS

9       #include <sasl/sasl.h>
10
11       int sasl_client_init(const  sasl_callback_t *callbacks )
12

DESCRIPTION

14       sasl_client_init initializes SASL.
15
16       It  must  be  called  before  any  calls  to sasl_client_start(3). This
17       call initializes all SASL client  drivers (e.g.  authentication  mecha‐
18       nisms). These are usually found in the /usr/lib/sasl2 directory but the
19       directory may be overridden with the SASL_PATH environment variable.
20

RETURN VALUE

22       SASL  callback  functions should return SASL return codes.  See  sasl.h
23       for a complete list. SASL_OK indicates success.
24
25       The following return codes indicate errors and should either be handled
26       or the authentication session should be quit:
27
28       · SASL_BADVERS: Mechanism version mismatch
29
30       · SASL_BADPARAM: Error in config file
31
32       · SASL_NOMEM: Not enough memory to complete operation
33

SEE ALSO

35       RFC   4422,:saslman:sasl(3),   sasl_callbacks(3),   sasl_client_new(3),
36       sasl_client_start(3), sasl_client_step(3)
37

AUTHOR

39       The Cyrus Team
40
42       1993-2016, The Cyrus Team
43
44
45
46
472.1.27                         November 08, 2018           SASL_CLIENT_INIT(3)
Impressum