


   SPX Version 2.2                                         gss_import_name(3)



   Name
     gss_import_name - convert a printable name to an internal API name

   Syntax .TP
     #include "gssapi_defs.h"

     gss_import_name(minor_status,
                     input_name_buffer,
                     input_name_type,
                     output_name)

     OM_uint32      *minor_status;
     gss_buffer_t   input_name_buffer;
     gss_OID        input_name_type;
     gss_name_t     *output_name;

   Arguments

     _m_i_n_o_r__s_t_a_t_u_s
            (OM_uint32, modify) If the routine doesn't return GSS_S_COMPLETE,
            then this status code can be used to display the mechanism
            specific error using the call _g_s_s__d_i_s_p_l_a_y__s_t_a_t_u_s

     _i_n_p_u_t__n_a_m_e
            (gss_buffer_t, read) The buffer that contains a printable name to
            convert to API-format.  Since SPX supports only the self describ-
            ing nametype, the printable name must begin with either the _S_E_R_-
            _V_I_C_E: or _S_P_X: string.  Note that the name is case insensitive.

               _S_E_R_V_I_C_E:
                     This prefix is used to import Internet service names
                     into an internal name.  This routine uses the transla-
                     tion table in the _c_d_c._c_o_n_f file to map the Internet name
                     to an X.500 name.  Example names,
                     "SERVICE:rlogin@sejour.lkg.dec.com", or
                     "SERVICE:telnet@athena.mit.edu".

              _S_P_X:   This prefix is used to import an X.500 name used in SPX
                     into an internal name.  Example name,
                     "SPX:/C=US/O=Digital/OU=LKG/OU=Users/CN=John Smith" .

     _i_n_p_u_t__n_a_m_e__t_y_p_e
            (gss_OID, read) SPX supports only the GSS_C_NULL_OID nametype
            which is the self describing printable nametype.

     _o_u_t_p_u_t__n_a_m_e
            (gss_name_t, modify) Returned name in API-format.

   Description
     Converts a printable name of the appropriate nametype to internal name.





   Digital Equipment Corporation                                            1






   gss_import_name(3)                                         SPX Version 2.2


   See Also























































   2                                            Digital Equipment Corporation


99