csf_gss_release_user(3) — Subroutines
NAME
csf_gss_release_user
SYNOPSIS
#include <gssapi/gssapi.h>
OM_uint32 csf_gss_release_user (
OM_uint32 ∗ minor_status,
csf_gss_user_t ∗ user_id,
OM_uint32 flags );
PARAMETERS
minor_status
Kerberos 5 error code.
user_idUser context to be released and set to CSF_GSS_C_NO_USER.
Specify NULL if this parameter is not used.
flagsBit flags indicating special actions to perform. Specify zero if no special action is to be taken.
The only symbolic flag name presently defined is:
CSF_GSS_C_PURGE_FLAG
Destroy the Kerberos 5 credentials cache.
DESCRIPTION
The csf_gss_release_user() function is an extension that frees the memory associated with a user context created by csf_gss_acq_user(). It can also be used to destroy the credentials cache. The application must use this function to avoid memory leaks.
RETURN VALUES
| GSS_S_CALL_INACCESSIBLE_READ | 01xxxxxx |
| GSS_S_CALL_INACCESSIBLE_WRITE | 02xxxxxx |
| GSS_S_COMPLETE | 00000000 |
| GSS_S_FAILURE | xx0Dxxxx |
PORTABILITY CONSIDERATIONS
This function is an extension of the GSS-API standard that is not supported by other GSS-API implementations.