'\" te .\" Copyright (C) 1998-2003, Carnegie Mellon Univeristy. All Rights Reserved. .\" Portions Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved .TH sasl_server_step 3SASL "14 Oct 2003" "SunOS 5.11" "Simple Authentication Security Layer Library Functions" .SH NAME sasl_server_step \- perform a step in the server authentication negotiation .SH SYNOPSIS .LP .nf \fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lsasl\fR [ \fIlibrary\fR ... ] #include \fBint\fR \fBsasl_server_step\fR(\fBsasl_conn_t *\fR\fIconn\fR, \fBconst char *\fR\fIclientin\fR, \fBunsigned\fR \fIclientinlen\fR, \fBconst char **\fR\fIserverout\fR, \fBunsigned *\fR\fIserveroutlen\fR); .fi .SH DESCRIPTION .sp .LP The \fBsasl_server_step()\fR performs a step in the authentication negotiation. .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIconn\fR\fR .ad .RS 16n .rt The SASL context for this connection. .RE .sp .ne 2 .mk .na \fB\fIclientin\fR\fR .ad .RS 16n .rt The data given by the client. The data is decoded if the protocol encodes requests that are sent over the wire. .RE .sp .ne 2 .mk .na \fB\fIclientinlen\fR\fR .ad .RS 16n .rt The length of \fIclientin\fR. .RE .sp .ne 2 .mk .na \fB\fIserverout\fR\fR .ad .br .na \fB\fIserveroutlen\fR\fR .ad .RS 16n .rt Set by the library and sent to the client. .RE .SH RETURN VALUES .sp .LP \fBsasl_server_step()\fR returns an integer that corresponds to a SASL error code. .SH ERRORS .sp .ne 2 .mk .na \fB\fBSASL_OK\fR\fR .ad .RS 17n .rt The whole authentication completed successfully. .RE .sp .ne 2 .mk .na \fB\fBSASL_CONTINUE\fR\fR .ad .RS 17n .rt The call to \fBsasl_server_step()\fR was successful, and at least one more step is needed for the authentication. .RE .sp .LP All other error codes indicate an error situation that you must handle, or you should quit the authentication session. See \fBsasl_errors\fR(3SASL) for information on SASL error codes. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/library/security/libsasl _ Interface StabilityCommitted _ MT-LevelMT-Safe .TE .SH SEE ALSO .sp .LP \fBsasl_errors\fR(3SASL), \fBattributes\fR(5)