1sasl_server_sStiempp(l3eSAASuLt)hentication Security Layer LibrarysaFsuln_csteirovnesr_step(3SASL)
2
3
4

NAME

6       sasl_server_step - perform a step in the server authentication negotia‐
7       tion
8

SYNOPSIS

10       cc [ flag ... ] file ... -lsasl   [ library ... ]
11       #include <sasl/sasl.h>
12
13       int sasl_server_step(sasl_conn_t *conn, const char  *clientin,
14            unsigned clientinlen, const char  **serverout,
15            unsigned *serveroutlen);
16
17

DESCRIPTION

19       The sasl_server_step() performs a step in the  authentication  negotia‐
20       tion.
21

PARAMETERS

23       conn            The SASL context for this connection.
24
25
26       clientin        The  data  given  by the client. The data is decoded if
27                       the protocol encodes requests that are  sent  over  the
28                       wire.
29
30
31       clientinlen     The length of clientin.
32
33
34       serverout       Set by the library and sent to the client.
35       serveroutlen
36

RETURN VALUES

38       sasl_server_step()  returns an integer that corresponds to a SASL error
39       code.
40

ERRORS

42       SASL_OK          The whole authentication completed successfully.
43
44
45       SASL_CONTINUE    The call to sasl_server_step() was successful, and  at
46                        least one more step is needed for the authentication.
47
48
49
50       All other error codes indicate an error situation that you must handle,
51       or you should quit the authentication session.  See  sasl_errors(3SASL)
52       for information on SASL error codes.
53

ATTRIBUTES

55       See attributes(5) for descriptions of the following attributes:
56
57
58
59
60       ┌─────────────────────────────┬─────────────────────────────┐
61       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
62       ├─────────────────────────────┼─────────────────────────────┤
63       │Availability                 │SUNWlibsasl                  │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │Interface Stability          │Evolving                     │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │MT-Level                     │MT-Safe                      │
68       └─────────────────────────────┴─────────────────────────────┘
69

SEE ALSO

71       sasl_errors(3SASL), attributes(5)
72
73
74
75SunOS 5.11                        14 Oct 2003          sasl_server_step(3SASL)
Impressum