gss_release_cred - Free resource associated with credential.
OM_uint32 * minor_status,
gss_cred_id_t * cred_handle );
Kerberos 5 error code. Credentials being released. If
GSS_C_NO_CREDENTIAL is specified, the function executes
but does nothing. A value of GSS_C_NO_CREDENTIALS is
The gss_release_cred() function informs the GSS-API that
the specified credentials handle is no longer required and
frees associated resources. The data structure housing a
copy of the credentials within the application's address
space is released. Service table and credentials cache
entries are left intact.
Before deciding when to release credentials, the application
must determine if it is going to be initiating or
accepting security contexts more than once during the
application's execution. If so, the application may want
to retain credentials and reuse them later with the initiate
or accept security context functions, rather than
releasing them immediately after the first use.
Functions: gss_acquire_cred(3), gss_add_cred(3),
[ Back ]