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

NAME

6       sasl_server_init - Cyrus SASL documentation
7

SYNOPSIS

9       #include <sasl/sasl.h>
10
11       int sasl_server_init(const sasl_callback_t *callbacks,
12                            const char *appname);
13

DESCRIPTION

15       int sasl_server_init(const sasl_callback_t *callbacks,
16
17       const char *appname);
18              sasl_server_init()  initializes  SASL.   It   must   be   called
19              before  any  calls  to  sasl_server_start,  and  only  once  per
20              process.  This call initializes all SASL mechanism drivers (e.g.
21              authentication mechanisms).  These  are  usually  found  in  the
22              /usr/lib/sasl2  directory  but the directory  may  be overridden
23              with the SASL_PATH environment variable (or at compile time).
24
25              Parameters
26
27                     · callbacks – specifies the base callbacks for all client
28                       connections.   See  the  sasl_callbacks(3) man page for
29                       more information.
30
31                     · appname – is the name of the application.  It  is  used
32                       to find the default configuration file.
33

RETURN VALUE

35       SASL   callback  functions should return SASL return codes.  See sasl.h
36       for a complete list. SASL_OK indicates success.
37
38       Other return codes indicate errors and should either be handled or  the
39       authentication session should be quit.
40

SEE ALSO

42       RFC   4422,:saslman:sasl(3),   sasl_callbacks(3),   sasl_server_new(3),
43       sasl_server_start(3), sasl_server_step(3), sasl_errors(3)
44

AUTHOR

46       The Cyrus Team
47
49       1993-2016, The Cyrus Team
50
51
52
53
542.1.27                         January 29, 2018            SASL_SERVER_INIT(3)
Impressum