RPC_GSS_GET_PRINCIPAL_NAME
Section: C Library Functions (3)
Page Index
BSD mandoc
NAME
rpc_gss_get_principal_name
- Get a principal name
SYNOPSIS
In rpc/rpcsec_gss.h
Ft bool_t
Fo rpc_gss_get_principal_name
Fa rpc_gss_principal_t *principal
Fa const char *mech
Fa const char *name
Fa const char *node
Fa const char *domain
Fc
DESCRIPTION
This function can be used to generate a client principal name from
various strings.
PARAMETERS
- principal
-
If the principal is created successfully,
Fa *principal
will be set to point at the new principal in GSS-API exported name form
- mech
-
The name of the mechanism for this principal
- name
-
The name part of the principal
- node
-
If non-null, the hostname or instance part of the principal
- domain
-
If non-null, the domain or realm part of the principal
RETURN VALUES
Returns
TRUE
if the principal was created or
FALSE
otherwise
AVAILABILITY
The
Fn rpc_gss_get_principal_name
function is part of libtirpc.
SEE ALSO
rpc(3),
gssapi(3),
gss_export_name3,
rpcsec_gss3
AUTHORS
This
manual page was written by
An Doug Rabson Aq
dfr@FreeBSD.org .