1sasl_server_iSniimtp(l3eSAASuLt)hentication Security Layer LibrarysaFsuln_csteirovnesr_init(3SASL)
2
3
4

NAME

6       sasl_server_init - SASL server authentication initialization
7

SYNOPSIS

9       cc [ flag ... ] file ... -lsasl   [ library ... ]
10       #include <sasl/sasl.h>
11
12       int sasl_server_init(const sasl_callback *callbacks, const char *appname);
13
14

DESCRIPTION

16       Use  the sasl_server_init() interface to initialize SASL. You must call
17       sasl_server_init() before  you  make  a  call  to  sasl_server_start().
18       sasl_server_init()  may  be  called  only  once  per process. A call to
19       sasl_server_init() initializes all SASL mechanism drivers, that is, the
20       authentication mechanisms. The SASL mechanism drivers are usually found
21       in the /usr/lib/sasl directory.
22

PARAMETERS

24       callbacks    Specifies the base callbacks for all client connections.
25
26
27       appname      The name of the application for lower level  logging.  For
28                    example, the sendmail server calls appname this way:
29
30                      sasl_server_init(srvcallbacks, "Sendmail")
31
32
33

RETURN VALUES

35       sasl_server_init()  returns an integer that corresponds to a SASL error
36       code.
37

ERRORS

39       SASL_OK    The call to sasl_server_init() was successful.
40
41
42
43       All other error codes indicate an error situation that must be handled,
44       or  the  authentication  session should be quit. See sasl_errors(3SASL)
45       for information on SASL error codes.
46

ATTRIBUTES

48       See attributes(5) for descriptions of the following attributes:
49
50
51
52
53       ┌─────────────────────────────┬─────────────────────────────┐
54       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
55       ├─────────────────────────────┼─────────────────────────────┤
56       │Availability                 │SUNWlibsasl                  │
57       ├─────────────────────────────┼─────────────────────────────┤
58       │Interface Stability          │Evolving                     │
59       ├─────────────────────────────┼─────────────────────────────┤
60       │MT-Level                     │Unsafe                       │
61       └─────────────────────────────┴─────────────────────────────┘
62

SEE ALSO

64       sasl_errors(3SASL), attributes(5)
65

NOTES

67       While most of libsasl is MT-Safe, no other libsasl function  should  be
68       called until this function completes.
69
70
71
72SunOS 5.11                        22 Oct 2003          sasl_server_init(3SASL)
Impressum