gss_krb5_get_tkt_flags()--Get Kerberos Protocol Ticket Flags


  Syntax
 #include <gssapi.h>

 OM_uint32 gss_krb5_get_tkt_flags (  
     OM_uint32 *    minor_status,
     gss_ctx_id_t     context_handle,  
     krb5_flags *   tkt_flags);
  Service Program Name: QSYS/QKRBGSS

  Default public authority: *USE

  Threadsafe: Yes

The gss_krb5_get_tkt_flags() function returns the Kerberos ticket flags from the Kerberos ticket associated with the security context. Refer to the Kerberos protocol-specific API documentation for a description of the various flags.


Parameters

minor_status  (Output)
A status code from the security mechanism.

context_handle  (Input)
The handle for the GSS security context.

tkt_flags  (Output)
The ticket flags from the Kerberos ticket associated with the security context.

Return Value

The return value is one of the following status codes:

GSS_S_COMPLETE
The routine completed successfully.

GSS_S_FAILURE
The routine failed for reasons that are not defined at the GSS level. The minor_status return parameter contains a mechanism-dependent error code describing the reason for the failure.

GSS_S_NO_CONTEXT
The context handle does not refer to a valid security context.

Authorities

Object Referred to Data Authority Required
Each directory in the path name preceding the configuration file *X
Configuration file *R


Error Messages

Message ID Error Message Text
CPE3418 E Possible APAR condition or hardware failure.


API introduced: V5R1

[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]