krb5_copy_ticket man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

KRB5_TICKET(3)		  OpenBSD Programmer's Manual		KRB5_TICKET(3)

NAME
     krb5_ticket, krb5_free_ticket, krb5_copy_ticket,
     krb5_ticket_get_authorization_data_type, krb5_ticket_get_client,
     krb5_ticket_get_server - Kerberos 5 ticket access and handling functions

LIBRARY
     Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS
     #include <krb5.h>

     krb5_ticket;

     krb5_error_code
     krb5_free_ticket(krb5_context context, krb5_ticket *ticket);

     krb5_error_code
     krb5_copy_ticket(krb5_context context, const krb5_ticket *from,
     krb5_ticket **to);

     krb5_error_code
     krb5_ticket_get_authorization_data_type(krb5_context context, krb5_ticket
     *ticket, int type, krb5_data *data);

     krb5_error_code
     krb5_ticket_get_client(krb5_context context, const krb5_ticket *ticket,
     krb5_principal *client);

     krb5_error_code
     krb5_ticket_get_server(krb5_context context, const krb5_ticket *ticket,
     krb5_principal *server);

DESCRIPTION
     krb5_ticket holds a kerberos ticket.  The internals of the structure
     should never be accessed directly, functions exist for extracting
     information.

     krb5_free_ticket() frees the ticket and its content.  Used to free the
     result of krb5_copy_ticket() and krb5_recvauth().

     krb5_copy_ticket() copies the content of the ticket from to the ticket
     to.  The result to should be freed with krb5_free_ticket().

     krb5_ticket_get_authorization_data_type() fetches the authorization data
     of the type type from the ticket.	If there isn't any authorization data
     of type type, ENOENT is returned.	data needs to be freed with
     krb5_data_free() on success.

     krb5_ticket_get_client() and krb5_ticket_get_server() returns a copy of
     the client/server principal from the ticket.  The principal returned
     should be free using krb5_free_principal(3).

SEE ALSO
     krb5(3)

HEIMDAL				August 12, 2004			       HEIMDAL
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net