gss_duplicate_name()--Create Duplicate GSS Internal Name


  Syntax
 #include <gssapi.h>

 OM_uint32 gss_duplicate_name(
     OM_uint32 *    minor_status,  
     gss_name_t     input_name,
     gss_name_t *   output_name);  
  Service Program Name: QSYS/QKRBGSS

  Default public authority: *USE

  Threadsafe: Yes

The gss_duplicate_name() function creates a duplicate of a GSS internal name.


Parameters

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

input_name  (Input)
The name to be duplicated. An error is returned if GSS_C_NO_NAME is specified for this parameter.

output_name  (Output)
The new GSS internal name. The gss_name_t returned for this parameter should be released by calling the gss_release_name() function when it is no longer needed.

Return Value

The return value is one of the following status codes:

GSS_S_BAD_NAME
The input name is not valid.

GSS_S_BAD_NAMETYPE
The input name type is not supported.

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.

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
Top | Security APIs
UNIX-Type APIs | APIs by category