Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

libsasl(3lib) [sunos man page]

libsasl(3LIB)															     libsasl(3LIB)

NAME
libsasl - simple authentication and security layer library SYNOPSIS
cc [ flag... ] file... -lsasl [ library... ] #include <sasl/sasl.h> #include <sasl/prop.h> #include <sasl/saslutil.h> SASL is a security framework used by connection-oriented network applications primarily for authentication. Another way to describe SASL is that it is a glue layer between a network application and some security mechanisms that allow applications to authenticate each other and provide additional security services such as data encryption. As a glue layer, SASL hides the interface specifics of the security mechanism from the application, which allows greater portability and flexibility as new security mechanisms are implemented. SASL is simi- lar to the GSS-API in that it provides a layer of abstraction between an application and one or more security mechanisms. libsasl provides both an API for applications and an SPI for various plug-ins. To link with this library, specify -lsasl on the cc command line. INTERFACES
The shared object libsasl.so.1 and associated include files provide the public interfaces defined below. The *_t interfaces are function prototypes for callbacks that are defined in the public SASL header files. While libsasl provides default versions for some of the call- backs, this structure allows an application to define its own version of the some of the callback functions. See intro(3) for additional information on shared object interfaces. prop_clear prop_dispose prop_dup prop_erase prop_format prop_get prop_getnames prop_new prop_request prop_set prop_setvals sasl_authorize_t sasl_auxprop sasl_auxprop_add_plugin sasl_auxprop_getctx sasl_auxprop_request sasl_canon_user_t sasl_canonuser_add_plugin sasl_chalprompt_t sasl_checkapop sasl_checkpass sasl_client_add_plugin sasl_client_init sasl_client_new sasl_client_plug_init_t sasl_client_start sasl_client_step sasl_decode sasl_decode64 sasl_dispose sasl_done sasl_encode sasl_encode64 sasl_encodev sasl_erasebuffer sasl_errdetail sasl_errors sasl_errstring sasl_getcallback_t sasl_getopt_t sasl_getpath_t sasl_getprop sasl_getrealm_t sasl_getsecret_t sasl_getsimple_t sasl_global_listmech sasl_idle sasl_listmech sasl_log_t sasl_server_add_plugin sasl_server_init sasl_server_new sasl_server_plug_init_t sasl_server_start sasl_server_step sasl_server_userdb_checkpass_t sasl_server_userdb_setpass_t sasl_set_alloc sasl_set_mutex sasl_seterror sasl_setpass sasl_setprop sasl_utf8verify sasl_verifyfile_t sasl_version /usr/lib/libsasl.so.1 shared object See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibsasl | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ intro(3), attributes(5), 27 Oct 2003 libsasl(3LIB)

Check Out this Related Man Page

sasl_client_init(3SASL) 		      Simple Authentication Security Layer Library Functions			   sasl_client_init(3SASL)

NAME
sasl_client_init - initialize SASL client authentication SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/sasl.h> int sasl_client_init(const sasl_callback_t *callbacks); DESCRIPTION
Use the sasl_client_init() interface to initialize SASL. The sasl_client_init() interface must be called before any calls to sasl_client_start(3SASL). The call to sasl_client_init() initiallizes all SASL client drivers, for example, authentication 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
sasl_client_init() returns an integer that corresponds to a SASL error code. ERRORS
SASL_OK The call to sasl_client_init() was successful. SASL_BADVERS There is a mismatch in the mechanism version. SASL_BADPARAM There is an error in the configuration file. SASL_NOMEM 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 sasl_errors(3SASL) for information on SASL error codes. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibsasl | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
sasl_errors(3SASL), attributes(5) NOTES
While most of libsasl is MT-Safe, no other libsasl function should be called until this function completes. SunOS 5.10 22 Oct 2003 sasl_client_init(3SASL)
Man Page