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

NAME

6       sasl_server_init - SASL server authentication initialization
7
8
9

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

32       sasl_server_init returns an integer which corresponds  to  one  of  the
33       SASL  error  codes. SASL_OK is the only one that indicates success. All
34       others indicate errors and should either be handled or the  authentica‐
35       tion session should be quit.
36
37

CONFORMING TO

39       RFC 2222
40

SEE ALSO

42       sasl(3),    sasl_callbacks(3),    sasl_errors(3),   sasl_server_new(3),
43       sasl_server_start(3), sasl_server_step(3)
44
45
46
47SASL man pages                       SASL       sasl_server_init(10 July 2001)
Impressum