Simple Authentication Security Layer Library Functions
saslclientinit(3SASL)
NAME
saslclientinit - initialize SASL client authentication
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#include
int saslclientinit(const saslcallbackt *callbacks);
DESCRIPTION
Use the saslclientinit() interface to initialize SASL. The
saslclientinit() interface must be called before any calls
to saslclientstart(3SASL). The call to saslclientinit()
initiallizes all SASL client drivers, for example, authenti-
cation mechanisms. SASL client drivers are usually found in
the /usr/lib/sasl directory.
PARAMETERS
callbacks Specifies the base callbacks for all client
connections.
RETURN VALUES
saslclientinit() returns an integer that corresponds to a
SASL error code.
ERORS
SASLOK The call to saslclientinit() was success-
ful.
SASLBADVERS There is a mismatch in the mechanism ver-
sion.
SASLBADPARAM There is an error in the configuration
file.
SASLNOMEM There is not enough memory to complete the
operation.
All other error codes indicate an error situation that must
be handled, or the authentication session should be quit.
See saslerrors(3SASL) for information on SASL error codes.
ATRIBUTES
SunOS 5.11 Last change: 22 Oct 2003 1
Simple Authentication Security Layer Library Functions
saslclientinit(3SASL)
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWlibsasl
Interface Stability Evolving
MT-Level Unsafe
SEE ALSO
saslerrors(3SASL), attributes(5)
NOTES
While most of libsasl is MT-Safe, no other libsasl function
should be called until this function completes.
SunOS 5.11 Last change: 22 Oct 2003 2
Simple Authentication Security Layer Library Functions
saslclientinit(3SASL)
SunOS 5.11 Last change: 22 Oct 2003 3
|