Query: krb5_aname_to_localname
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KRB5_ANAME_TO_LOCALNAME(3) BSD Library Functions Manual KRB5_ANAME_TO_LOCALNAME(3)NAMEkrb5_aname_to_localname -- converts a principal to a system local nameLIBRARYKerberos 5 Library (libkrb5, -lkrb5)SYNOPSIS#include <krb5/krb5.h> krb5_boolean krb5_aname_to_localname(krb5_context context, krb5_const_principal name, size_t lnsize, char *lname);DESCRIPTIONThis function takes a principal name, verifies that it is in the local realm (using krb5_get_default_realms()) and then returns the local name of the principal. If name isn't in one of the local realms an error is returned. If the size (lnsize) of the local name (lname) is too small, an error is returned. krb5_aname_to_localname() should only be use by an application that implements protocols that don't transport the login name and thus needs to convert a principal to a local name. Protocols should be designed so that they authenticate using Kerberos, send over the login name and then verify the principal that is authen- ticated 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 ALSOkrb5_get_default_realms(3), krb5_kuserok(3)BSDFebruary 18, 2006 BSD
Related Man Pages |
---|
krb5_aname_to_localname(3) - netbsd |
krb5_build_principal_va_ext(3) - netbsd |
krb5_build_principal_va(3) - netbsd |
krb5_copy_host_realm(3) - netbsd |
krb5_get_default_realm(3) - netbsd |
Similar Topics in the Unix Linux Community |
---|
why the script is not terminating with proper results |
Solaris 11.1 login authenticate with windows active directory |