Simple Authentication Security Layer Library Functions
saslserverstep(3SASL)
NAME
saslserverstep - perform a step in the server authentica-
tion negotiation
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#include
int saslserverstep(saslconnt *conn, const char *clientin,
unsigned clientinlen, const char **serverout,
unsigned *serveroutlen);
DESCRIPTION
The saslserverstep() performs a step in the authentication
negotiation.
PARAMETERS
conn The SASL context for this connection.
clientin The data given by the client. The data is
decoded if the protocol encodes requests
that are sent over the wire.
clientinlen The length of clientin.
serverout Set by the library and sent to the client.
serveroutlen
RETURN VALUES
saslserverstep() returns an integer that corresponds to a
SASL error code.
ERORS
SASLOK The whole authentication completed success-
fully.
SASLCONTINUE The call to saslserverstep() was success-
ful, and at least one more step is needed
for the authentication.
All other error codes indicate an error situation that you
must handle, or you should quit the authentication session.
See saslerrors(3SASL) for information on SASL error codes.
SunOS 5.11 Last change: 14 Oct 2003 1
Simple Authentication Security Layer Library Functions
saslserverstep(3SASL)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWlibsasl
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
saslerrors(3SASL), attributes(5)
SunOS 5.11 Last change: 14 Oct 2003 2
Simple Authentication Security Layer Library Functions
saslserverstep(3SASL)
SunOS 5.11 Last change: 14 Oct 2003 3
|