The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
    HEIMDAL  

    NAME

    krb5_aname_to_localname
    
     - converts a principal to a system local name.
    
     
    

    LIBRARY

    Kerberos 5 Library (libkrb5, -lkrb5)
     
    

    SYNOPSIS

       #include <krb5.h>
    krb5_boolean Fo krb5_aname_to_localname Fa krb5_context context Fa krb5_const_principal name Fa size_t lnsize Fa char *lname Fc  

    DESCRIPTION

    This function takes a principal Fa name , verifies its in the local realm (using krb5_get_default_realms ());
    and then returns the local name of the principal.

    If Fa name isn't in one of the local realms and error is returned.

    If size Fa ( lnsize ) of the local name Fa ( lname ) is to small, an error is returned.

    krb5_aname_to_localname ();
    should only be use by application that implements protocols that doesn't transport the login name and thus needs to convert a principal to a local name.

    Protocols should be designed so that the it autheticates using Kerberos, send over the login name and then verifies in the principal that authenticated is allowed to login and the login name. A way to check if a user is allowed to login is using the function krb5_kuserok (.);
     

    SEE ALSO

    krb5_get_default_realms3, krb5_kuserok3


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    SEE ALSO


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




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

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