|
NAMEkrb5_aname_to_localname —
converts a principal to a system local name
LIBRARYKerberos 5 Library (libkrb5, -lkrb5)SYNOPSIS#include <krb5.h>
krb5_boolean
DESCRIPTIONThis function takes a principal name, verifies that it is in the local realm (usingkrb5_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.
Protocols should be designed so that they authenticate using
Kerberos, send over the login name and then verify the principal that is
authenticated is allowed to login and the login name. A way to check if a
user is allowed to login is using the function
SEE ALSOkrb5_get_default_realms(3), krb5_kuserok(3)
Visit the GSP FreeBSD Man Page Interface. |