*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> gss_import_sec_context (3)              
Title
Content
Arch
Section
 

gss_import_sec_context(3)

Contents


NAME    [Toc]    [Back]

       gss_import_sec_context  - Import a security context established
 by another process.

SYNOPSIS    [Toc]    [Back]

       #include <gssapi/gssapi.h>

       OM_uint32 gss_import_sec_context(
               OM_uint32 * minor_status,
               const gss_buffer_t interprocess_token,
               gss_ctx_id_t * context_handle );

PARAMETERS    [Toc]    [Back]

       Kerberos 5 error code.  Token received from the  exporting
       process.  After  this call, the token is no longer needed.
       Security context imported by this function.

              The application must release  resources  associated
              with   the   context  after  use  with  a  call  to
              gss_delete_sec_context().

DESCRIPTION    [Toc]    [Back]

       The gss_import_sec_context() function allows a process  to
       import  a security context established by another process.

       A given interprocess token should be imported only once.

                                  Note

       Because of the way sequence  numbers  are  incremented  in
       security  contexts,  a single security context must not be
       used with multiple initiators and acceptors.

       After use, the application must release resources  associated
  with  the context with a call to gss_delete_sec_context().

RETURN VALUES    [Toc]    [Back]

       GSS_S_CALL_BAD_STRUCTURE        03xxxxxx
       GSS_S_CALL_INACCESSIBLE_READ    01xxxxxx
       GSS_S_CALL_INACCESSIBLE_WRITE   02xxxxxx
       GSS_S_COMPLETE                  00000000
       GSS_S_DEFECTIVE_TOKEN           xx09xxxx
       GSS_S_FAILURE                   xx0Dxxxx
       GSS_S_NO_CONTEXT                xx08xxxx
       GSS_S_UNAUTHORIZED              xx0Fxxxx
       GSS_S_UNAVAILABLE               xx10xxxx

SEE ALSO    [Toc]    [Back]

      
      
       Functions:  gss_accept_sec_context(3), gss_delete_sec_context(3), gss_export_sec_context(3)



                                        gss_import_sec_context(3)
[ Back ]
 Similar pages
Name OS Title
glximportcontextext IRIX import another process's indirect rendering context.
glXImportContextEXT Tru64 import another process's indirect rendering context.
gss_process_context_token HP-UX process a context to the security service
gss_export_sec_context Tru64 Prepare security context for transfer to another process.
gss_export_sec_context HP-UX transfer a security context to another process on a single machine
gss_import_sec_context HP-UX transfer a security context to another process on a single machine
gss_init_sec_context HP-UX establish a security context between the context initiator and a context acceptor
gss_accept_sec_context HP-UX establish a security context between the application and a context acceptor
gss_delete_sec_context Tru64 Release a security context.
gss_delete_sec_context HP-UX delete a security context
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service