The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

krb5_sname_to_principal (3)
  • >> krb5_sname_to_principal (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
    HEIMDAL  

    NAME

    krb5_sname_to_principal
    
     
    krb5_sock_to_principal
    
     - create a service principal
    
     
    

    LIBRARY

    Kerberos 5 Library (libkrb5, -lkrb5)
     
    

    SYNOPSIS

       #include <krb5.h>
    krb5_error_code krb5_sname_to_principal (krb5_context context const char *hostname const char *sname int32_t type krb5_principal *principal);
    krb5_error_code krb5_sock_to_principal (krb5_context context int socket const char *sname int32_t type krb5_principal *principal);
     

    DESCRIPTION

    These functions create a ``service'' principal that can, for instance, be used to lookup a key in a keytab. For both these function the Fa sname parameter will be used for the first component of the created principal. If Fa sname is NULL ``host'' will be used instead. krb5_sname_to_principal ();
    will use the passed Fa hostname for the second component. If type KRB5_NT_SRV_HST this name will be looked up with gethostbyname (.);
    If Fa hostname is NULL the local hostname will be used.

    krb5_sock_to_principal ();
    will use the ``sockname'' of the passed Fa socket , which should be a bound AF_INET socket.  

    SEE ALSO

    krb5_425_conv_principal3, krb5_build_principal3, krb5_free_principal3, krb5_parse_name3, krb5_unparse_name3


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру