1sasl_client_iSniimtp(l3eSAASuLt)hentication Security Layer LibrarysaFsuln_cctliioennst_init(3SASL)
2
3
4

NAME

6       sasl_client_init - initialize SASL client authentication
7

SYNOPSIS

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

DESCRIPTION

16       Use   the   sasl_client_init()   interface   to  initialize  SASL.  The
17       sasl_client_init()  interface  must  be  called  before  any  calls  to
18       sasl_client_start(3SASL).  The  call to sasl_client_init() initiallizes
19       all SASL client drivers, for example, authentication  mechanisms.  SASL
20       client drivers are usually found in the /usr/lib/sasl directory.
21

PARAMETERS

23       callbacks    Specifies the base callbacks for all client connections.
24
25

RETURN VALUES

27       sasl_client_init()  returns an integer that corresponds to a SASL error
28       code.
29

ERRORS

31       SASL_OK          The call to sasl_client_init() was successful.
32
33
34       SASL_BADVERS     There is a mismatch in the mechanism version.
35
36
37       SASL_BADPARAM    There is an error in the configuration file.
38
39
40       SASL_NOMEM       There is not enough memory to complete the operation.
41
42
43
44       All other error codes indicate an error situation that must be handled,
45       or  the  authentication  session should be quit. See sasl_errors(3SASL)
46       for information on SASL error codes.
47

ATTRIBUTES

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

SEE ALSO

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

NOTES

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