Poster of Linux kernelThe best gift for a Linux geek
KRB5_CREDS

KRB5_CREDS

Section: C Library Functions (3)
Local index Up

BSD mandoc
HEIMDAL  

NAME

krb5_creds krb5_copy_creds krb5_copy_creds_contents krb5_free_creds krb5_free_cred_contents - Kerberos 5 credential handling functions  

LIBRARY

Kerberos 5 Library (libkrb5, -lkrb5)  

SYNOPSIS

In krb5.h Ft krb5_error_code Fo krb5_copy_creds Fa krb5_context context Fa const krb5_creds *incred Fa krb5_creds **outcred Fc Ft krb5_error_code Fo krb5_copy_creds_contents Fa krb5_context context Fa const krb5_creds *incred Fa krb5_creds *outcred Fc Ft krb5_error_code Fo krb5_free_creds Fa krb5_context context Fa krb5_creds *outcred Fc Ft krb5_error_code Fo krb5_free_cred_contents Fa krb5_context context Fa krb5_creds *cred Fc  

DESCRIPTION

Vt krb5_creds holds Kerberos credentials:
typedef struct krb5_creds {
    krb5_principal      client;
    krb5_principal      server;
    krb5_keyblock       session;
    krb5_times          times;
    krb5_data           ticket;
    krb5_data           second_ticket;
    krb5_authdata       authdata;
    krb5_addresses      addresses;
    krb5_ticket_flags   flags;
} krb5_creds;

Fn krb5_copy_creds makes a copy of Fa incred to Fa outcred . Fa outcred should be freed with Fn krb5_free_creds by the caller.

Fn krb5_copy_creds_contents makes a copy of the content of Fa incred to Fa outcreds . Fa outcreds should be freed by the called with Fn krb5_free_creds_contents .

Fn krb5_free_creds frees the content of the Fa cred structure and the structure itself.

Fn krb5_free_cred_contents frees the content of the Fa cred structure.  

SEE ALSO

krb5(3), krb5_compare_creds3, krb5_get_init_creds3, kerberos(8)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:48:57 GMT, April 16, 2011