logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpc_gss_get_principal_name — Get a principal name

Authors

       This manual page was written by Doug Rabson <dfr@FreeBSD.org>.

Debian                                          January 26, 2010                   RPC_GSS_GET_PRINCIPAL_NAME(3)

Availability

       The rpc_gss_get_principal_name() function is part of libtirpc.

Description

       This function can be used to generate a client principal name from various strings.

Name

       rpc_gss_get_principal_name — Get a principal name

Parameters

       principal  If the principal is created successfully, *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

See Also

rpc(3), gssapi(3), gss_export_name(3), rpcsec_gss(3)

Synopsis

#include<rpc/rpcsec_gss.h>bool_trpc_gss_get_principal_name(rpc_gss_principal_t*principal,       constchar*mech,      constchar*name,
           constchar*node, constchar*domain);

See Also